Class BulkRenderingRequestFactory
Implementation of IGetsBulkRenderingRequest which transforms the CLI arguments into the proper type for bulk-rendering.
Inheritance
System.Object
BulkRenderingRequestFactory
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp.Cli
Assembly: ZptSharp.Cli.dll
Syntax
public class BulkRenderingRequestFactory : IGetsBulkRenderingRequest
Constructors
| Improve this Doc View SourceBulkRenderingRequestFactory(ILoadsModel)
Initializes a new instance of BulkRenderingRequestFactory
Declaration
public BulkRenderingRequestFactory(ILoadsModel modelLoader)
Parameters
Type | Name | Description |
---|---|---|
ILoadsModel | modelLoader | The model loader. |
Methods
| Improve this Doc View SourceGetRequestAsync(CliArguments, CancellationToken)
Gets the bulk rendering request.
Declaration
public Task<BulkRenderingRequest> GetRequestAsync(CliArguments args, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
CliArguments | args | The command line args. |
System.Threading.CancellationToken | cancellationToken | A optional cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BulkRenderingRequest> | A bulk rendering request. |