Click or drag to resize
Akka.NETFlag Class
Implements a boolean flag CRDT that is initialized to `false` and can be switched to `true`. `true` wins over `false` in merge. This class is immutable, i.e. "modifying" methods return a new instance.
Inheritance Hierarchy
SystemObject
  Akka.DistributedDataFlag

Namespace:  Akka.DistributedData
Assembly:  Akka.DistributedData (in Akka.DistributedData.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
[SerializableAttribute]
public sealed class Flag : IReplicatedData<Flag>, 
	IReplicatedData, IEquatable<Flag>, IComparable<Flag>, 
	IComparable, IReplicatedDataSerialization

The Flag type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyEnabled
TBD
Top
Methods
  NameDescription
Public methodCompareTo(Object)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodCompareTo(Flag)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(Flag)
Indicates whether the current object is equal to another object of the same type.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMerge(Flag)
TBD
Public methodMerge(IReplicatedData)
TBD
Public methodSwitchOn
TBD
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Operators
Fields
  NameDescription
Public fieldStatic memberFalse
TBD
Public fieldStatic memberTrue
TBD
Top
Extension Methods
See Also