메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 |
public SetCustomProperty ( string key, bool value ) : |
||
key | string | The key. |
value | bool | The value. |
리턴 |
public SetCustomProperty ( string key, decimal value ) : |
||
key | string | The key. |
value | decimal | The value. |
리턴 |
public SetCustomProperty ( string key, double value ) : |
||
key | string | The key. |
value | double | The value. |
리턴 |
public SetCustomProperty ( string key, float value ) : |
||
key | string | The key. |
value | float | The value. |
리턴 |
public SetCustomProperty ( string key, int value ) : |
||
key | string | The key. |
value | int | The value. |
리턴 |
public SetCustomProperty ( string key, long value ) : |
||
key | string | The key. |
value | long | The value. |
리턴 |
public SetCustomProperty ( string key, string value ) : |
||
key | string | The key. |
value | string | The value. |
리턴 |
public SetCustomPropertyWithValueAsRawJsonString ( string key, string rawJson ) : |
||
key | string | The key. |
rawJson | string | The value. |
리턴 |
public SetDeleteRole ( string role ) : |
||
role | string | Role name. |
리턴 |
public SetDeleteRoles ( string roles ) : |
||
roles | string | Role names. |
리턴 |
public SetMaxAge ( System.TimeSpan maxAge ) : |
||
maxAge | System.TimeSpan | The maximum age of events allowed in the stream. |
리턴 |
public SetMaxCount ( int maxCount ) : |
||
maxCount | int | The maximum number of events allowed in the stream. |
리턴 |
public SetMetadataReadRole ( string role ) : |
||
role | string | Role name. |
리턴 |
public SetMetadataReadRoles ( string roles ) : |
||
roles | string | Role names. |
리턴 |
public SetMetadataWriteRole ( string role ) : |
||
role | string | Role name. |
리턴 |
public SetMetadataWriteRoles ( string roles ) : |
||
roles | string | Role names. |
리턴 |
public SetReadRole ( string role ) : |
||
role | string | Role name. |
리턴 |
public SetReadRoles ( string roles ) : |
||
roles | string | Role names. |
리턴 |
public SetTruncateBefore ( int truncateBefore ) : |
||
truncateBefore | int | The event number from which previous events can be scavenged. |
리턴 |
public SetWriteRole ( string role ) : |
||
role | string | Role name. |
리턴 |
public SetWriteRoles ( string roles ) : |
||
roles | string | Role names. |
리턴 |