示例#1
0
 public virtual object[] GetPrimitiveValues(object @object)
 {
     if (@object == null)
     {
         return(null);
     }
     Net.Vpc.Upa.Types.DatePeriod datePeriod = (Net.Vpc.Upa.Types.DatePeriod)@object;
     return(new object[] { datePeriod.GetCount(), ((int)datePeriod.GetPeriodType()) });
 }
示例#2
0
 public override bool Equals(object obj)
 {
     if (obj == null)
     {
         return(false);
     }
     Net.Vpc.Upa.Types.DatePeriod datePeriod = (Net.Vpc.Upa.Types.DatePeriod)obj;
     return((count == datePeriod.count) && (periodType == datePeriod.periodType));
 }