Class BaseRecord
Not intended for use as a type, only to provide functionality to derived classes and to move as much as possible into C# rather than the Python generator.
Inheritance
BaseRecord
Inherited Members
Namespace: PKWARE.Smartcrypt.Protocol
Assembly: SmartcryptProtocol.dll
Syntax
public abstract class BaseRecord
Constructors
BaseRecord(JObject)
Declaration
protected BaseRecord([NotNull] JObject json)
Parameters
Type | Name | Description |
---|---|---|
Newtonsoft.Json.Linq.JObject | json |
Fields
Json
Declaration
[NotNull]
protected readonly JObject Json
Field Value
Type | Description |
---|---|
Newtonsoft.Json.Linq.JObject |
Methods
SetOrDelete(String, String)
Declaration
protected void SetOrDelete([NotNull] string name, [CanBeNull] string value)
Parameters
Type | Name | Description |
---|---|---|
String | name | |
String | value |
ToString()
Obeys all currently known business rules for serialization, and should only be used when producing new records.
Declaration
[NotNull]
public override string ToString()
Returns
Type | Description |
---|---|
String | A serialized representation suitable for signing. |