Show / Hide Table of Contents

Class Graph

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

Constructors

Graph()

Declaration
public Graph()

Graph(IEnumerable<Key>, Double, Double)

Declaration
public Graph(IEnumerable<Key> statKeys, double startDay, double endDay)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Key> statKeys
System.Double startDay
System.Double endDay

Properties

Keys

Declaration
[Serialized]
public Key[] Keys { get; set; }
Property Value
Type Description
Key[]

TimeMax

Declaration
[Serialized]
public double TimeMax { get; set; }
Property Value
Type Description
System.Double

TimeMin

Declaration
[Serialized]
public double TimeMin { get; set; }
Property Value
Type Description
System.Double

Methods

Clone()

Declaration
public object Clone()
Returns
Type Description
System.Object

FromBson(BSONArray)

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

ToBson()

Declaration
public BSONArray ToBson()
Returns
Type Description
BSONArray

Implements

System.ICloneable
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
☀
☾