Class BasePdu<T>
Assembly: SmartcryptProtocol.dll
Syntax
public abstract class BasePdu<T> : IEquatable<T> where T : BasePdu<T>
Type Parameters
Constructors
BasePdu(JObject)
Declaration
protected BasePdu([NotNull] JObject json)
Parameters
Type |
Name |
Description |
Newtonsoft.Json.Linq.JObject |
json |
|
Methods
Equals(T)
Declaration
public bool Equals(T other)
Parameters
Type |
Name |
Description |
T |
other |
|
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToJson(Boolean)
Declaration
[NotNull]
protected abstract string ToJson(bool sending)
Parameters
Type |
Name |
Description |
Boolean |
sending |
|
Returns
ToJsonForLocalStorage()
Declaration
[NotNull]
public string ToJsonForLocalStorage()
Returns
Declaration
[NotNull]
public string ToJsonForMds()
Returns
Operators
Equality(BasePdu<T>, T)
Declaration
public static bool operator ==(BasePdu<T> left, T right)
Parameters
Type |
Name |
Description |
BasePdu<T> |
left |
|
T |
right |
|
Returns
Inequality(BasePdu<T>, T)
Declaration
public static bool operator !=(BasePdu<T> left, T right)
Parameters
Type |
Name |
Description |
BasePdu<T> |
left |
|
T |
right |
|
Returns
Implements