Пример #1
0
 public Range()
 {
     this._id = Guid.NewGuid ();
     this._createtimestamp = SNDK.Date.CurrentDateTimeToTimestamp ();
     this._updatetimestamp = SNDK.Date.CurrentDateTimeToTimestamp ();
     this._countrycodeid = Guid.Empty;
     this._type = Enums.NumberType.Landline;
     this._name = string.Empty;
     this._dialcodes = new List<string> ();
     this._costpriceids = new List<Guid> ();
 }
Пример #2
0
 public void Init(Enums.NumberType Type, string Value, bool FreeCall)
 {
     this._type = Type;
     this._value = Value;
     if (Type == Enums.NumberType.Landline)
     {
         this._freecall = false;
     }
     else
     {
         this._freecall = FreeCall;
     }
 }
Пример #3
0
 public void Init(Enums.NumberType Type, string Value)
 {
     this._type = Type;
     this._value = Value;
 }