Class EnvVar
An on-demand variable queried and cached by the client, while the server notifies on cache invalidate.
Cannot be null.
Inheritance
System.Object
EnvVar
Assembly: Eco.Shared.dll
Syntax
public sealed class EnvVar : ValueType, IBsonSerialize, IBsonSerializable, IBsonDeserializable
Constructors
EnvVar()
Declaration
EnvVar(String, Object, Boolean)
Declaration
public EnvVar(string key, object value, bool cache)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Object |
value |
|
System.Boolean |
cache |
|
Fields
Cache
Declaration
Field Value
Type |
Description |
System.Boolean |
|
Key
Declaration
Field Value
Type |
Description |
System.String |
|
Value
Declaration
Field Value
Type |
Description |
System.Object |
|
Methods
FromBson(BSONArray)
Declaration
public void FromBson(BSONArray bson)
Parameters
ToBson()
Declaration
public BSONArray ToBson()
Returns
ToBson(BsonSerializationContext)
Declaration
public BSONArray ToBson(BsonSerializationContext context)
Parameters
Returns
Implements
Extension Methods