예제 #1
0
 public override void CopyFrom(TermState other)
 {
     if (Debugging.AssertsEnabled)
     {
         Debugging.Assert(other is OrdTermState, "can not copy from {0}", other.GetType().Name);
     }
     this.Ord = ((OrdTermState)other).Ord;
 }
예제 #2
0
 public override void CopyFrom(TermState other)
 {
     Debug.Assert(other is OrdTermState, "can not copy from " + other.GetType().Name);
     this.Ord = ((OrdTermState)other).Ord;
 }