Table of Contents

Class PolarServerApplications

Namespace
PolarStudio
Assembly
PolarStudio.dll

This class is a container for Polar server spplications

public class PolarServerApplications : IEnumerable
Inheritance
PolarServerApplications
Implements
Inherited Members
Extension Methods

Properties

Count

Returns the number of applications in this collection.

public int Count { get; }

Property Value

int

this[object]

Default method to get an application by 1-based index or name.

public PolarServerApplication this[object pIndex] { get; }

Parameters

pIndex object

The 1-based index or name.

Property Value

PolarServerApplication

The found application (else an exception is raised).

Methods

Add(string, AppConfiguration, bool)

This method adds an application with the specified name and configuration.

public PolarServerApplication Add(string pName, AppConfiguration pConfiguration, bool pDynamicApplication = true)

Parameters

pName string

The name of the new application.

pConfiguration AppConfiguration

The configuration holding the specifications of the new application.

pDynamicApplication bool

Must be True.

Returns

PolarServerApplication

The new Polar Server application.

Exceptions

Exception

In case of a failure, an exception is thrown.

ContainsKey(string)

Returns True if an application with the given name is found.

public bool ContainsKey(string pName)

Parameters

pName string

The name of the application to test.

Returns

bool

True if found.

GetEnumerator()

The enumerator.

public IEnumerator GetEnumerator()

Returns

IEnumerator

Remove(string)

This method removes the specified dynamic application

public void Remove(string pName)

Parameters

pName string

The name of the application to remove.

Exceptions

Exception

In case of a failure, an exception is thrown.

TryGet(object)

Tries to get an application by 1-based index or name.

public PolarServerApplication TryGet(object pIndex)

Parameters

pIndex object

The 1-based index or name.

Returns

PolarServerApplication

The found application or Nothing.