PluginRecordRules
Static class in Oadm.Sdk.Plugins · Oadm.Sdk.dll
The checks every IPluginRecords applies.
public static class PluginRecordRulesMethods
Section titled “Methods”Validate
Section titled “Validate”static void Validate(string collection, IReadOnlyCollection<KeyValuePair<string, string?>> records)Throws ArgumentException for a bad collection, an empty or too long key, or a value that is not JSON.
ValidateCollection
Section titled “ValidateCollection”static void ValidateCollection(string collection)Throws ArgumentException for an empty or too long collection name.
Fields
Section titled “Fields”MaxCollectionLength
Section titled “MaxCollectionLength”const int MaxCollectionLength = 64The longest collection name.
MaxKeyLength
Section titled “MaxKeyLength”const int MaxKeyLength = 255The longest key.