A custom tailored comment for use in elections web interface (ElectionController). Gets stored in Election.
Inheritance
System.Object
ElectionComment
Implements
System.ICloneable
Assembly: Eco.Shared.dll
[BsonAutoSerialize]
[Serialized]
public class ElectionComment : Object, ICloneable, IBsonSerialize, IBsonSerializable, IBsonDeserializable
Constructors
Declaration
Declaration
public ElectionComment(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Properties
Declaration
[Serialized]
public Graph Graph { get; set; }
Property Value
Declaration
[Serialized]
public Map Map { get; set; }
Property Value
Declaration
[Serialized]
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
[Serialized]
public double TimeSeconds { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
[Serialized]
public string Username { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Declaration
Returns
Type |
Description |
System.Object |
|
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public void FromBson(BSONArray bson)
Parameters
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Declaration
public BSONArray ToBson()
Returns
Implements
System.ICloneable
Extension Methods