Interface IEngineProxy
Provides the capability to create Engine proxies.
Namespace: Copper.Conventions.Method.Service.V1.Interface
Assembly: Copper.Conventions.Method.Service.dll
Syntax
public interface IEngineProxy : IDisposable
Methods
View SourceFor<TContract>()
Creates a Engine proxy for the given contract type.
Declaration
TContract For<TContract>()
where TContract : class
Returns
Type | Description |
---|---|
TContract |
Type Parameters
Name | Description |
---|---|
TContract | The contract type. |
For<TContract>(Action<RequestSubmitterBuilder>)
Creates a Engine 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 Engine 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. |