Class BlockPolicyParams
Inheritance
BlockPolicyParams
Implements
Cocona.ICommandParameterSet
Assembly: Libplanet.Extensions.Cocona.dll
Syntax
public class BlockPolicyParams : ICommandParameterSet
Properties
|
Improve this Doc
View Source
AssembliesToLoad
Declaration
[Option("load-assembly", new char[]{'A'}, Description = "The path of the assembly DLL to load. Can be specified multiple times. Note that all referenced assemblies of the specified assemblies are also loaded automatically if they are placed in the same directory. Tip: In case there are missing references, you can use `dotnet publish` to copy all the required assemblies to a single directory.")]
[HasDefaultValue]
public string[] AssembliesToLoad { get; set; }
Property Value
|
Improve this Doc
View Source
PolicyFactory
Declaration
[Option('F', Description = "The qualified name of the factory method to instantiate a IBlockPolicy<T>. The factory method must be static and has no parameters. An assembly that the factory method and the policy type belong to has to be loaded using -A/--load-assembly option.")]
[HasDefaultValue]
public string PolicyFactory { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
GetBlockAction()
Declaration
public IAction GetBlockAction()
Returns
|
Improve this Doc
View Source
GetBlockPolicy()
Declaration
public object GetBlockPolicy()
Returns
|
Improve this Doc
View Source
LoadAssemblies()
Declaration
public Assembly[] LoadAssemblies()
Returns
Implements
Cocona.ICommandParameterSet