Interface IManagerProxy
Provides the capability to create Manager proxies.
Namespace: Copper.Conventions.Method.Client.V1.Interface
Assembly: Copper.Conventions.Method.Client.dll
Syntax
public interface IManagerProxy : IDisposable
Methods
View SourceFor<TContract>(Action<RequestSubmitterBuilder>)
Creates a Manager proxy for the given contract type.
Declaration
TContract For<TContract>(Action<RequestSubmitterBuilder> requestSubmitterBuilderConfigureDelegate)
where TContract : class
Parameters
Type | Name | Description |
---|---|---|
System.Action<RequestSubmitterBuilder> | requestSubmitterBuilderConfigureDelegate | The request submitter builder configure delegate. |
Returns
Type | Description |
---|---|
TContract |
Type Parameters
Name | Description |
---|---|
TContract | The contract type. |
For<TContract>(Func<RequestSubmitterBuilder>)
Creates a Manager proxy for the given contract type.
Declaration
TContract For<TContract>(Func<RequestSubmitterBuilder> requestSubmitterBuilderFactory)
where TContract : class
Parameters
Type | Name | Description |
---|---|---|
System.Func<RequestSubmitterBuilder> | requestSubmitterBuilderFactory | The request submitter builder factory. |
Returns
Type | Description |
---|---|
TContract |
Type Parameters
Name | Description |
---|---|
TContract | The contract type. |
For<TContract>(String)
Creates a Manager proxy for the given contract type.
Declaration
TContract For<TContract>(string applicationName)
where TContract : class
Parameters
Type | Name | Description |
---|---|---|
System.String | applicationName | The Manager's application name. |
Returns
Type | Description |
---|---|
TContract |
Type Parameters
Name | Description |
---|---|
TContract | The contract type. |