//public AEvent[] Events { get { return database.GetEventsForChampionship ( ID ).ToArray ( ); } } public virtual void addEvent(string EventName, ResultDisplayDescription ResultType, int MaxSquadSize = 1, int MinSquadSize = 0) { if (MaxSquadSize == 1) { addEvent(new IndividualDistanceEvent(EventName, ResultType, this)); } else { throw new NotImplementedException(); } //addEvent(new SquadEvent(EventName, this, MaxSquadSize, MinSquadSize)); }
public IndividualTimedHeatEvent(string Name, ResultDisplayDescription ResultType, Championship Championship) : base(Name, ResultType, Championship) { }
/// <summary> /// Constructor for timed results /// </summary> /// <param name="ValueType"></param> /// <param name="value"></param> public ResultValue(ResultDisplayDescription ValueType, TimeSpan value) { this.ValueType = ValueType; setTime(value); }
public ResultValue(ResultValue rv) { this.RawValue = rv.RawValue; this.ValueType = rv.ValueType; }
public ResultValue(ResultDisplayDescription ValueType) { this.ValueType = ValueType; }
/// <summary> /// Constructor for any results /// </summary> /// <param name="ValueType"></param> /// <param name="RawValue"></param> public ResultValue(ResultDisplayDescription ValueType, int RawValue) { this.ValueType = ValueType; this.RawValue = RawValue; }
/// <summary> /// Constructor for distance results /// </summary> /// <param name="ValueType"></param> /// <param name="value"></param> public ResultValue(ResultDisplayDescription ValueType, decimal value) { this.ValueType = ValueType; setDistance(value); }