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

Service configuration builder. More...

Public Member Functions

ServiceConfigurationBuilder Id (string id)
 The id of the serivce More...
 
ServiceConfigurationBuilder Property (string name, string value)
 Add a new property for the service More...
 
ServiceConfigurationBuilder Property (string name, JsonValue value)
 Add a new property for the service More...
 
ServiceConfigurationBuilder Type (string type)
 The type of the service More...
 
ServiceConfigurationBuilder Url (string url)
 The url of the service More...
 
ServiceConfiguration Build ()
 Build the service configuration More...
 

Detailed Description

Service configuration builder.

Member Function Documentation

◆ Build()

ServiceConfiguration AeroGear.Mobile.Core.Configuration.ServiceConfiguration.ServiceConfigurationBuilder.Build ( )

Build the service configuration

Returns
A new ServiceConfiguration instance

◆ Id()

ServiceConfigurationBuilder AeroGear.Mobile.Core.Configuration.ServiceConfiguration.ServiceConfigurationBuilder.Id ( string  id)

The id of the serivce

Returns
the builder instance
Parameters
idIdentifier.

◆ Property() [1/2]

ServiceConfigurationBuilder AeroGear.Mobile.Core.Configuration.ServiceConfiguration.ServiceConfigurationBuilder.Property ( string  name,
string  value 
)

Add a new property for the service

Returns
the builder instance
Parameters
nameProperty name.
valueProperty value

◆ Property() [2/2]

ServiceConfigurationBuilder AeroGear.Mobile.Core.Configuration.ServiceConfiguration.ServiceConfigurationBuilder.Property ( string  name,
JsonValue  value 
)

Add a new property for the service

Returns
the builder instance
Parameters
nameProperty name.
valueProperty value

◆ Type()

ServiceConfigurationBuilder AeroGear.Mobile.Core.Configuration.ServiceConfiguration.ServiceConfigurationBuilder.Type ( string  type)

The type of the service

Returns
the builder instance
Parameters
typeservice type

◆ Url()

ServiceConfigurationBuilder AeroGear.Mobile.Core.Configuration.ServiceConfiguration.ServiceConfigurationBuilder.Url ( string  url)

The url of the service

Returns
the builder instance
Parameters
urlService url

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