Show / Hide Table of Contents

Class BlockPolicyParams

Inheritance
Object
BlockPolicyParams
Implements
Cocona.ICommandParameterSet
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Libplanet.Extensions.Cocona
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
Type Description
String[]
| 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
Type Description
String

Methods

| Improve this Doc View Source

GetBlockAction()

Declaration
public IAction GetBlockAction()
Returns
Type Description
IAction
| Improve this Doc View Source

GetBlockPolicy()

Declaration
public object GetBlockPolicy()
Returns
Type Description
Object
| Improve this Doc View Source

LoadAssemblies()

Declaration
public Assembly[] LoadAssemblies()
Returns
Type Description
Assembly[]

Implements

Cocona.ICommandParameterSet
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium