Method | Description | |
---|---|---|
Build ( ) : StreamMetadata |
Builds a StreamMetadata from a StreamMetadataBuilder.
|
|
SetCacheControl ( System.TimeSpan cacheControl ) : |
Sets the amount of time for which the stream head is cachable.
|
|
SetCustomProperty ( string key, bool value ) : |
Sets a custom metadata property.
|
|
SetCustomProperty ( string key, decimal value ) : |
Sets a custom metadata property.
|
|
SetCustomProperty ( string key, double value ) : |
Sets a custom metadata property.
|
|
SetCustomProperty ( string key, float value ) : |
Sets a custom metadata property.
|
|
SetCustomProperty ( string key, int value ) : |
Sets a custom metadata property.
|
|
SetCustomProperty ( string key, long value ) : |
Sets a custom metadata property.
|
|
SetCustomProperty ( string key, string value ) : |
Sets a custom metadata property.
|
|
SetCustomPropertyWithValueAsRawJsonString ( string key, string rawJson ) : |
Sets a custom metadata property to a string of raw JSON.
|
|
SetDeleteRole ( string role ) : |
Sets a single role name with delete permission for the stream.
|
|
SetDeleteRoles ( string roles ) : |
Sets role names with delete permission for the stream.
|
|
SetMaxAge ( System.TimeSpan maxAge ) : |
Sets the maximum age of events allowed in the stream.
|
|
SetMaxCount ( int maxCount ) : |
Sets the maximum number of events allowed in the stream.
|
|
SetMetadataReadRole ( string role ) : |
Sets a single role name with metadata read permission for the stream.
|
|
SetMetadataReadRoles ( string roles ) : |
Sets role names with metadata read permission for the stream.
|
|
SetMetadataWriteRole ( string role ) : |
Sets a single role name with metadata write permission for the stream.
|
|
SetMetadataWriteRoles ( string roles ) : |
Sets role names with metadata write permission for the stream.
|
|
SetReadRole ( string role ) : |
Sets a single role name with read permission for the stream.
|
|
SetReadRoles ( string roles ) : |
Sets role names with read permission for the stream.
|
|
SetTruncateBefore ( int truncateBefore ) : |
Sets the event number from which previous events can be scavenged.
|
|
SetWriteRole ( string role ) : |
Sets a single role name with write permission for the stream.
|
|
SetWriteRoles ( string roles ) : |
Sets role names with write permission for the stream.
|
Method | Description | |
---|---|---|
StreamMetadataBuilder ( int maxCount = null, System.TimeSpan maxAge = null, int truncateBefore = null, System.TimeSpan cacheControl = null, string aclRead = null, string aclWrite = null, string aclDelete = null, string aclMetaRead = null, string aclMetaWrite = null, JToken>.IDictionary |
public SetCacheControl ( System.TimeSpan cacheControl ) : |
||
cacheControl | System.TimeSpan | The amount of time for which the stream head is cachable. |
return |
public SetCustomProperty ( string key, bool value ) : |
||
key | string | The key. |
value | bool | The value. |
return |
public SetCustomProperty ( string key, decimal value ) : |
||
key | string | The key. |
value | decimal | The value. |
return |
public SetCustomProperty ( string key, double value ) : |
||
key | string | The key. |
value | double | The value. |
return |
public SetCustomProperty ( string key, float value ) : |
||
key | string | The key. |
value | float | The value. |
return |
public SetCustomProperty ( string key, int value ) : |
||
key | string | The key. |
value | int | The value. |
return |
public SetCustomProperty ( string key, long value ) : |
||
key | string | The key. |
value | long | The value. |
return |
public SetCustomProperty ( string key, string value ) : |
||
key | string | The key. |
value | string | The value. |
return |
public SetCustomPropertyWithValueAsRawJsonString ( string key, string rawJson ) : |
||
key | string | The key. |
rawJson | string | The value. |
return |
public SetDeleteRole ( string role ) : |
||
role | string | Role name. |
return |
public SetDeleteRoles ( string roles ) : |
||
roles | string | Role names. |
return |
public SetMaxAge ( System.TimeSpan maxAge ) : |
||
maxAge | System.TimeSpan | The maximum age of events allowed in the stream. |
return |
public SetMaxCount ( int maxCount ) : |
||
maxCount | int | The maximum number of events allowed in the stream. |
return |
public SetMetadataReadRole ( string role ) : |
||
role | string | Role name. |
return |
public SetMetadataReadRoles ( string roles ) : |
||
roles | string | Role names. |
return |
public SetMetadataWriteRole ( string role ) : |
||
role | string | Role name. |
return |
public SetMetadataWriteRoles ( string roles ) : |
||
roles | string | Role names. |
return |
public SetReadRole ( string role ) : |
||
role | string | Role name. |
return |
public SetReadRoles ( string roles ) : |
||
roles | string | Role names. |
return |
public SetTruncateBefore ( int truncateBefore ) : |
||
truncateBefore | int | The event number from which previous events can be scavenged. |
return |
public SetWriteRole ( string role ) : |
||
role | string | Role name. |
return |
public SetWriteRoles ( string roles ) : |
||
roles | string | Role names. |
return |