Class AkkaFieldAttribute
Marks a property as a serialized field with a stable field index.
Inherited Members
Namespace: Akka.Serialization.V2
Assembly: Akka.Serialization.V2.dll
Syntax
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
public sealed class AkkaFieldAttribute : Attribute
Constructors
| Edit this page View SourceAkkaFieldAttribute(int)
Declaration
public AkkaFieldAttribute(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Properties
| Edit this page View SourceIndex
Stable zero-based field index.
Declaration
public int Index { get; }
Property Value
| Type | Description |
|---|---|
| int |
Edit this page