aerogear-xamarin-sdk
AeroGear Xamarin SDK
AeroGear.Mobile.Core.Configuration.ServiceConfiguration Class Reference

This represents a parsed service configuration from JSON configuration. More...

Inheritance diagram for AeroGear.Mobile.Core.Configuration.ServiceConfiguration:

Classes

class  ServiceConfigurationBuilder
 Service configuration builder. More...
 

Public Member Functions

bool ContainsKey (string key)
 If the properties contain the given key More...
 
IEnumerator< KeyValuePair< string, string > > GetEnumerator ()
 Gets the enumerator of the properties More...
 
bool TryGetValue (string key, out string value)
 Try get value of the given key from the properties More...
 

Public Attributes

IEnumerable< string > Keys => properties.Keys
 Gets the keys of all the properties of the configuration More...
 
IEnumerable< string > Values => properties.Values
 Gets the values of all the properties of the configuration More...
 
int Count => properties.Count
 Gets the count of all the properties of the configuration More...
 
string this[string key] => properties[key]
 Gets the T:AeroGear.Mobile.Core.Configuration.ServiceConfiguration with the specified key. More...
 

Static Public Attributes

static ServiceConfigurationBuilder Builder => new ServiceConfigurationBuilder()
 Gets the builder to create a new T:AeroGear.Mobile.Core.Configuration.ServiceConfiguration More...
 

Properties

string Id [get]
 Id of the service More...
 
string Type [get]
 Type of the service More...
 
string Url [get]
 Url of the service More...
 

Detailed Description

This represents a parsed service configuration from JSON configuration.

Member Function Documentation

◆ ContainsKey()

bool AeroGear.Mobile.Core.Configuration.ServiceConfiguration.ContainsKey ( string  key)

If the properties contain the given key

Returns
true, if key was containsed, false otherwise.
Parameters
keyKey name

◆ GetEnumerator()

IEnumerator<KeyValuePair<string, string> > AeroGear.Mobile.Core.Configuration.ServiceConfiguration.GetEnumerator ( )

Gets the enumerator of the properties

Returns
The enumerator.

◆ TryGetValue()

bool AeroGear.Mobile.Core.Configuration.ServiceConfiguration.TryGetValue ( string  key,
out string  value 
)

Try get value of the given key from the properties

Returns
true, if get value was tryed, false otherwise.
Parameters
keyKey.
valueValue.

Member Data Documentation

◆ Builder

ServiceConfigurationBuilder AeroGear.Mobile.Core.Configuration.ServiceConfiguration.Builder => new ServiceConfigurationBuilder()
static

Gets the builder to create a new T:AeroGear.Mobile.Core.Configuration.ServiceConfiguration

The builder.

◆ Count

int AeroGear.Mobile.Core.Configuration.ServiceConfiguration.Count => properties.Count

Gets the count of all the properties of the configuration

The count.

◆ Keys

IEnumerable<string> AeroGear.Mobile.Core.Configuration.ServiceConfiguration.Keys => properties.Keys

Gets the keys of all the properties of the configuration

The keys.

◆ this[string key]

string AeroGear.Mobile.Core.Configuration.ServiceConfiguration.this[string key] => properties[key]

Gets the T:AeroGear.Mobile.Core.Configuration.ServiceConfiguration with the specified key.

Parameters
keyKey.

◆ Values

IEnumerable<string> AeroGear.Mobile.Core.Configuration.ServiceConfiguration.Values => properties.Values

Gets the values of all the properties of the configuration

The values.

Property Documentation

◆ Id

string AeroGear.Mobile.Core.Configuration.ServiceConfiguration.Id
get

Id of the service

the service id

◆ Type

string AeroGear.Mobile.Core.Configuration.ServiceConfiguration.Type
get

Type of the service

the service type

◆ Url

string AeroGear.Mobile.Core.Configuration.ServiceConfiguration.Url
get

Url of the service

the service url


The documentation for this class was generated from the following file: