C# Class Pomona.ClientMetadata

Metadata about the generated REST client.
Mostra file Open project: Pomona/Pomona

Public Methods

Method Description
With ( string assemblyName = null, string name = null, string interfaceName = null, string @namespace = null, string informationalVersion = null ) : ClientMetadata

Initializes a new instance of the ClientMetadata class, based on the current instance. Parameters with a given value will override the current value; the others will have their value from the current instance.

Protected Methods

Method Description
ClientMetadata ( string assemblyName = "Client", string name = "Client", string interfaceName = "IClient", string @namespace = "Client", string informationalVersion = "1.0.0.0" ) : System

Initializes a new instance of the ClientMetadata class.

Private Methods

Method Description
IsRunningOnMono ( ) : bool

Check whether we are running on Mono runtime.

ValidateIdentifiers ( CodeObject>.IEnumerable codeObjects ) : void

Method Details

ClientMetadata() protected method

Initializes a new instance of the ClientMetadata class.
protected ClientMetadata ( string assemblyName = "Client", string name = "Client", string interfaceName = "IClient", string @namespace = "Client", string informationalVersion = "1.0.0.0" ) : System
assemblyName string The name of the generated assembly. Default set to "Client".
name string The name of the REST client class.
interfaceName string The name of the REST client interface. This should usually be /// identical to , with an 'I' prefix. Default set to "IClient".
@namespace string
informationalVersion string The informational version of the generated assembly. Defaults to 1.0.0.0.
return System

With() public method

Initializes a new instance of the ClientMetadata class, based on the current instance. Parameters with a given value will override the current value; the others will have their value from the current instance.
public With ( string assemblyName = null, string name = null, string interfaceName = null, string @namespace = null, string informationalVersion = null ) : ClientMetadata
assemblyName string The name of the generated assembly. Default set to "Client".
name string The name of the REST client class.
interfaceName string The name of the REST client interface. This should usually be /// identical to , with an 'I' prefix. Default set to "IClient".
@namespace string
informationalVersion string The informational version of the generated assembly. Defaults to 1.0.0.0.
return ClientMetadata