10 [CollectionName(
"ValidationSchemas")]
13 [Index(
"Namespace",
"HashBase64")]
14 [Index(
"Namespace",
"Created")]
17 private string objectId =
null;
19 private string hashBase64 =
string.
Empty;
20 private string contentType =
string.
Empty;
21 private byte[] xmlSchema =
null;
23 private DateTime created = DateTime.MinValue;
32 set => this.objectId = value;
41 set => this.ns = value;
49 get => this.hashBase64;
50 set => this.hashBase64 = value;
60 set => this.function = value;
69 get => this.xmlSchema;
70 set => this.xmlSchema = value;
76 [DefaultValueStringEmpty]
79 get => this.contentType;
80 set => this.contentType = value;
89 set => this.created = value;
101 if (
string.IsNullOrEmpty(this.contentType))
109 return (Encoding ?? Encoding.UTF8).GetString(this.xmlSchema);
Represents a case-insensitive string.
static readonly CaseInsensitiveString Empty
Empty case-insensitive string
byte[] XmlSchema
XML Schema
string Xml
XML representation of schema.
HashFunction Function
Hash Function used
CaseInsensitiveString Namespace
Namespace of schema
string HashBase64
Hash of schema
string ContentType
Content-Type
DateTime Created
When object was created
TypeNameSerialization
How the type name should be serialized.
HashFunction
Hash method enumeration.