Class SecureLong
- Namespace
- Alis.Core.Aspect.Security
- Assembly
- Alis.dll
The secure long class
public class SecureLong
Inheritance
Inherited Members
Constructors
SecureLong(long)
Initializes a new instance of the Alis.Core.Aspect.Security.SecureLong class
public SecureLong(long value = 0)
Parameters
value
long-
The value
Fields
_randomValue
The random value
private long _randomValue
Field Value
_value
The value
private long _value
Field Value
Properties
Value
Gets or sets the value of the value
private long Value { get; set; }
Property Value
Methods
Equals(object)
Describes whether this instance equals
public override bool Equals(object obj)
Parameters
obj
object-
The obj
Returns
- bool
-
The bool
GetHashCode()
Gets the hash code
public override int GetHashCode()
Returns
- int
-
The int
ToString()
Returns the string
public override string ToString()
Returns
- string
-
The string
Operators
operator +(SecureLong, SecureLong)
public static SecureLong operator +(SecureLong a, SecureLong b)
Parameters
a
SecureLongb
SecureLong
Returns
operator --(SecureLong)
public static SecureLong operator --(SecureLong a)
Parameters
Returns
operator /(SecureLong, SecureLong)
public static SecureLong operator /(SecureLong a, SecureLong b)
Parameters
a
SecureLongb
SecureLong
Returns
operator ==(SecureLong, SecureLong)
public static bool operator ==(SecureLong a, SecureLong b)
Parameters
a
SecureLongb
SecureLong
Returns
implicit operator SecureLong(long)
public static implicit operator SecureLong(long value)
Parameters
value
long
Returns
implicit operator long(SecureLong)
public static implicit operator long(SecureLong value)
Parameters
value
SecureLong
Returns
operator ++(SecureLong)
public static SecureLong operator ++(SecureLong a)
Parameters
Returns
operator !=(SecureLong, SecureLong)
public static bool operator !=(SecureLong a, SecureLong b)
Parameters
a
SecureLongb
SecureLong
Returns
operator *(SecureLong, SecureLong)
public static SecureLong operator *(SecureLong a, SecureLong b)
Parameters
a
SecureLongb
SecureLong
Returns
operator -(SecureLong, SecureLong)
public static SecureLong operator -(SecureLong a, SecureLong b)
Parameters
a
SecureLongb
SecureLong