コード例 #1
0
 public override void CopyFrom(TermState other)
 {
     if (Debugging.AssertsEnabled)
     {
         Debugging.Assert(other is OrdTermState, () => "can not copy from " + other.GetType().Name);
     }
     this.Ord = ((OrdTermState)other).Ord;
 }
コード例 #2
0
ファイル: OrdTermState.cs プロジェクト: zhuthree/lucenenet
 public override void CopyFrom(TermState other)
 {
     Debug.Assert(other is OrdTermState, "can not copy from " + other.GetType().Name);
     this.Ord = ((OrdTermState)other).Ord;
 }
コード例 #3
0
ファイル: OrdTermState.cs プロジェクト: Cefa68000/lucenenet
 public override void CopyFrom(TermState other)
 {
     Debug.Assert(other is OrdTermState, "can not copy from " + other.GetType().Name);
     this.Ord = ((OrdTermState)other).Ord;
 }