Class MethodAddressBuilder
Provides the capability for building addresses.
Inheritance
System.Object
MethodAddressBuilder
Namespace: Copper.Conventions.Method.Testing.Client.V1
Assembly: Copper.Conventions.Method.Testing.Client.dll
Syntax
public static class MethodAddressBuilder
Methods
View SourceBuildAccessMexAddresses(Type, String)
Builds an Access MEX address.
Declaration
public static IEnumerable<string> BuildAccessMexAddresses(Type implementationType, string applicationName)
Parameters
Type | Name | Description |
---|---|---|
System.Type | implementationType | The implementation type |
System.String | applicationName | The application name. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | The Access MEX address. |
BuildAccessMexAddresses<TImplementation>(String)
Builds an Access MEX address.
Declaration
public static IEnumerable<string> BuildAccessMexAddresses<TImplementation>(string applicationName)
where TImplementation : class
Parameters
Type | Name | Description |
---|---|---|
System.String | applicationName | The application name. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | The Access MEX address. |
Type Parameters
Name | Description |
---|---|
TImplementation |
BuildEngineMexAddresses(Type, String)
Builds an Engine MEX address.
Declaration
public static IEnumerable<string> BuildEngineMexAddresses(Type implementationType, string applicationName)
Parameters
Type | Name | Description |
---|---|---|
System.Type | implementationType | The implementation type |
System.String | applicationName | The application name. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | The Engine MEX address. |
BuildEngineMexAddresses<TImplementation>(String)
Builds an Engine MEX address.
Declaration
public static IEnumerable<string> BuildEngineMexAddresses<TImplementation>(string applicationName)
where TImplementation : class
Parameters
Type | Name | Description |
---|---|---|
System.String | applicationName | The application name. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | The Engine MEX address. |
Type Parameters
Name | Description |
---|---|
TImplementation |
BuildManagerMexAddresses(Type, String)
Builds a Manager MEX address.
Declaration
public static IEnumerable<string> BuildManagerMexAddresses(Type implementationType, string applicationName)
Parameters
Type | Name | Description |
---|---|---|
System.Type | implementationType | The implementation type |
System.String | applicationName | The application name. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | The Manager MEX address. |
BuildManagerMexAddresses<TImplementation>(String)
Builds a Manager MEX address.
Declaration
public static IEnumerable<string> BuildManagerMexAddresses<TImplementation>(string applicationName)
where TImplementation : class
Parameters
Type | Name | Description |
---|---|---|
System.String | applicationName | The application name. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | The Manager MEX address. |
Type Parameters
Name | Description |
---|---|
TImplementation |
BuildServiceAddress(String, Type)
Builds a service address.
Declaration
public static string BuildServiceAddress(string serviceName, Type contractType)
Parameters
Type | Name | Description |
---|---|---|
System.String | serviceName | The service name |
System.Type | contractType | The contract type. |
Returns
Type | Description |
---|---|
System.String | The service address. |