UpsEnvParser Class

Cloud Foundry Helper Library Parse User-Provided-Services (UPS)

UpsEnvParser Class

Cloud Foundry Helper Library Parse User-Provided-Services (UPS) from VCAP_SERVICES
Inheritance Hierarchy
SystemObject  BlitzkriegSoftware.PCF.CFEnvParserUpsEnvParser

Namespace:  BlitzkriegSoftware.PCF.CFEnvParser
Assembly:  BlitzkriegSoftware.PCF.CFEnvParser (in BlitzkriegSoftware.PCF.CFEnvParser.dll) Version: 1.0.0
Syntax
C#
public sealed class UpsEnvParser

The UpsEnvParser type exposes the following members.

Constructors
  NameDescription
Public methodUpsEnvParser
CTOR
Top
Properties
  NameDescription
Public propertyIsLocal
Is configuration aquired locally (false means from UPS)
Public propertyLocalPath
Local path (folder) to UPS JSON files
Public propertyUpsCount
How many UPS got loaded?
Public propertyUpsNames
Return the list of UPS names
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpsExists
Is this UPS in the collection?
Public methodUpsKeyExists
Is this UPS Key in the collection?
Public methodUpsKeyGetValue
Get the value for a UPS for a key (or provided default)
Public methodUpsKeys
Return all Keys for a UPS
Public methodUpsKeyValues
Return the dictionary of key, values for a UPS
Top
Fields
  NameDescription
Public fieldStatic memberENV_VAR
Environment Variable: VCAP_SERVICES
Top
See Also