Show / Hide Table of Contents

Class ActionTypeAttribute

Indicates that an action class (i.e., a class implementing IAction) can be held by transactions and blocks. It also gives an action class a TypeIdentifier for serialization and deserialization.

Inheritance
Object
Attribute
ActionTypeAttribute
Inherited Members
Attribute.Equals(Object)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
Attribute.GetCustomAttribute(Assembly, Type, Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
Attribute.GetCustomAttribute(MemberInfo, Type, Boolean)
Attribute.GetCustomAttribute(Module, Type)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
Attribute.GetCustomAttribute(ParameterInfo, Type)
Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
Attribute.GetCustomAttributes(Assembly, Type)
Attribute.GetCustomAttributes(Assembly, Type, Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
Attribute.GetCustomAttributes(MemberInfo, Type, Boolean)
Attribute.GetCustomAttributes(Module)
Attribute.GetCustomAttributes(Module, Boolean)
Attribute.GetCustomAttributes(Module, Type)
Attribute.GetCustomAttributes(Module, Type, Boolean)
Attribute.GetCustomAttributes(ParameterInfo)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
Attribute.GetCustomAttributes(ParameterInfo, Type)
Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean)
System.Attribute.GetHashCode()
Attribute.IsDefaultAttribute()
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
Attribute.IsDefined(Assembly, Type, Boolean)
Attribute.IsDefined(MemberInfo, Type)
Attribute.IsDefined(MemberInfo, Type, Boolean)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
Attribute.IsDefined(ParameterInfo, Type)
Attribute.IsDefined(ParameterInfo, Type, Boolean)
Attribute.Match(Object)
Attribute.TypeId
Object.Equals(Object, Object)
System.Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
System.Object.ToString()
Namespace: Libplanet.Action
Assembly: Libplanet.Action.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class ActionTypeAttribute : Attribute

Constructors

| Improve this Doc View Source

ActionTypeAttribute(Int32)

Indicates that an action class (i.e., a class implementing IAction) can be held by transactions and blocks. It also gives an action class a TypeIdentifier for serialization and deserialization.

Declaration
public ActionTypeAttribute(int typeIdentifier)
Parameters
Type Name Description
Int32 typeIdentifier
| Improve this Doc View Source

ActionTypeAttribute(String)

Creates an ActionTypeAttribute with a given typeIdentifier.

Declaration
public ActionTypeAttribute(string typeIdentifier)
Parameters
Type Name Description
String typeIdentifier

An action class's unique identifier for serialization and deserialization.

Properties

| Improve this Doc View Source

TypeIdentifier

An action class's unique identifier for serialization and deserialization.

Declaration
public IValue TypeIdentifier { get; }
Property Value
Type Description
Bencodex.Types.IValue
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium