public ISchemaInfo GetSchemaByVersion(byte[] SchemaVersion) { var si = _outerInstance._schemaInfoProvider.GetSchemaByVersion(SchemaVersion); return(KeyValueSchemaInfo.DecodeKeyValueSchemaInfo(si).Value); }
/// <summary> /// Decode the key/value schema info to get key schema info and value schema info. /// </summary> /// <param name="schemaInfo"> key/value schema info. </param> /// <returns> the pair of key schema info and value schema info </returns> public static KeyValue <ISchemaInfo, ISchemaInfo> DecodeKeyValueSchemaInfo(ISchemaInfo schemaInfo) { return(KeyValueSchemaInfo.DecodeKeyValueSchemaInfo(schemaInfo)); }