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)
Attribute.GetCustomAttribute(Assembly, Type)
Attribute.GetCustomAttribute(Assembly, Type, Boolean)
Attribute.GetCustomAttribute(MemberInfo, Type)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
Attribute.GetCustomAttribute(Module, Type)
Attribute.GetCustomAttribute(Module, Type, Boolean)
Attribute.GetCustomAttribute(ParameterInfo, Type)
Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean)
Attribute.GetCustomAttributes(Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
Attribute.GetCustomAttributes(Assembly, Type)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
Attribute.GetCustomAttributes(MemberInfo, Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
Attribute.GetCustomAttributes(MemberInfo, Type, Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
Attribute.GetCustomAttributes(Module, Boolean)
Attribute.GetCustomAttributes(Module, Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
Attribute.GetCustomAttributes(ParameterInfo)
Attribute.GetCustomAttributes(ParameterInfo, Boolean)
Attribute.GetCustomAttributes(ParameterInfo, Type)
Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean)
Attribute.GetHashCode()
Attribute.IsDefaultAttribute()
Attribute.IsDefined(Assembly, Type)
Attribute.IsDefined(Assembly, Type, Boolean)
Attribute.IsDefined(MemberInfo, Type)
Attribute.IsDefined(MemberInfo, Type, Boolean)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
Attribute.IsDefined(Module, Type, Boolean)
Attribute.IsDefined(ParameterInfo, Type)
Attribute.IsDefined(ParameterInfo, Type, Boolean)
System.Attribute.Match(System.Object)
Attribute.TypeId
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
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