Show / Hide Table of Contents

Class Key

Inheritance
System.Object
Key
Implements
IBsonSerialize
IBsonSerializable
IBsonDeserializable
Namespace: Eco.Stats
Assembly: Eco.Shared.dll
Syntax
[Serialized]
[BsonAutoSerialize]
public class Key : Object, IBsonSerialize, IBsonSerializable, IBsonDeserializable

Constructors

Key()

Declaration
public Key()

Key(BSONObject)

Declaration
public Key(BSONObject bson)
Parameters
Type Name Description
BSONObject bson

Fields

DisplayName

Declaration
public string DisplayName
Field Value
Type Description
System.String

Unit

Declaration
[Serialized]
public Unit Unit
Field Value
Type Description
Unit

UnitDisplayName

Declaration
public string UnitDisplayName
Field Value
Type Description
System.String

Value

Declaration
[Serialized]
public string Value
Field Value
Type Description
System.String

Methods

FromBson(BSONArray)

Declaration
public void FromBson(BSONArray bson)
Parameters
Type Name Description
BSONArray bson

ToBson()

Declaration
public BSONArray ToBson()
Returns
Type Description
BSONArray

Implements

IBsonSerialize
IBsonSerializable
IBsonDeserializable

Extension Methods

CommandLine.FeedFromCommandLine(Object)
CommandLine.ToCommandLineArgs(Object, Func<Object, Boolean>)
ListUtil.DepthFirstTraversal<T>(T, Func<T, IEnumerable<T>>)
EnumerableExtensions.SingleItemAsEnumerable<T>(T)
EventUtils.RaiseEvent<TEventArgs>(Object, String, TEventArgs)
PredicateUtils.MatchesAll<TEnumerable, T>(T, TEnumerable)
PredicateUtils.MatchesAll<T>(T, Func<T, Boolean>[])
PredicateUtils.MatchesAny<TEnumerable, T>(T, TEnumerable)
ReflectionUtils.PropertyValue<T>(Object, PropertyInfo)
ReflectionUtils.TryGetPropertyValueByName<T>(Object, String, out T)
ReflectionUtils.GetPropertyValueByName<T>(Object, String)
ReflectionUtils.SetPropertyByName(Object, String, Object)
ReflectionUtils.GetStructPropertyByName<T>(Object, String)
ReflectionUtils.GetStringPropertyByName(Object, String)
ReflectionUtils.ZipByProperty<T>(Object, Object, Object, Func<T, T, T>)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾