Ads API .NET library
|
Interface to a factory which can create a particular group of services. For every new service supported, you need an implementation of this interface. More...
Public Member Functions | |
abstract AdsClient | CreateService (ServiceSignature signature, AdsUser user, Uri serverUrl) |
Create a service object. More... | |
Protected Member Functions | |
abstract void | ReadHeadersFromConfig (AppConfig config) |
Reads the headers from App.config. More... | |
abstract void | CheckServicePreconditions (ServiceSignature signature) |
Checks preconditions of the service signature and throws and exception if the service cannot be generated. More... | |
Properties | |
AppConfig | Config [get, set] |
Gets an App.config reader suitable for this factory. More... | |
Properties inherited from Google.Api.Ads.Common.Lib.Configurable | |
AppConfig | Config [get] |
Gets the application configuration class for this object. More... | |
Interface to a factory which can create a particular group of services. For every new service supported, you need an implementation of this interface.
|
protectedpure virtual |
Checks preconditions of the service signature and throws and exception if the service cannot be generated.
signature | the service signature for generating the service |
Implemented in Google.Api.Ads.AdManager.Lib.AdManagerServiceFactory.
|
pure virtual |
Create a service object.
signature | Signature of the service being created. |
user | The user for which the service is being created. |
serverUrl | The server to which the API calls should be made. |
Implemented in Google.Api.Ads.AdManager.Lib.AdManagerServiceFactory.
|
protectedpure virtual |
Reads the headers from App.config.
config | The configuration class. |
Implemented in Google.Api.Ads.AdManager.Lib.AdManagerServiceFactory.
|
getset |
Gets an App.config reader suitable for this factory.