/// <summary> /// Returns a synchronized (thread-safe) wrapper for the AffixRuleCollection. /// </summary> /// <param name="nonSync" type="AffixRuleCollection"> /// <para> /// The AffixRuleCollection to synchronize. /// </para> /// </param> public static AffixRuleCollection Synchronized(AffixRuleCollection nonSync) { AffixRuleCollection sync = new AffixRuleCollection(); sync.innerHash = Hashtable.Synchronized(nonSync.innerHash); return(sync); }
/// <summary> /// Creates a new object that is a copy of the current instance. /// </summary> /// <returns> /// A new object that is a copy of this instance. /// </returns> public AffixRuleCollection Clone() { AffixRuleCollection clone = new AffixRuleCollection(); clone.innerHash = (Hashtable)innerHash.Clone(); return(clone); }
internal AffixRuleEnumerator(AffixRuleCollection enumerable) { innerEnumerator = enumerable.InnerHash.GetEnumerator(); }
/// <summary> /// Creates a new object that is a copy of the current instance. /// </summary> /// <returns> /// A new object that is a copy of this instance. /// </returns> public AffixRuleCollection Clone() { AffixRuleCollection clone = new AffixRuleCollection(); clone.innerHash = (Hashtable) innerHash.Clone(); return clone; }
/// <summary> /// Initializes a new instance of 'AffixRuleCollection'. /// </summary> /// <param name="original" type="AffixRuleCollection"> /// <para> /// A 'AffixRuleCollection' from which the contents is copied /// </para> /// </param> public AffixRuleCollection(AffixRuleCollection original) { innerHash = new Hashtable (original.innerHash); }
/// <summary> /// Returns a synchronized (thread-safe) wrapper for the AffixRuleCollection. /// </summary> /// <param name="nonSync" type="AffixRuleCollection"> /// <para> /// The AffixRuleCollection to synchronize. /// </para> /// </param> public static AffixRuleCollection Synchronized(AffixRuleCollection nonSync) { AffixRuleCollection sync = new AffixRuleCollection(); sync.innerHash = Hashtable.Synchronized(nonSync.innerHash); return sync; }
/// <summary> /// Initializes a new instance of 'AffixRuleCollection'. /// </summary> /// <param name="original" type="AffixRuleCollection"> /// <para> /// A 'AffixRuleCollection' from which the contents is copied /// </para> /// </param> public AffixRuleCollection(AffixRuleCollection original) { innerHash = new Hashtable(original.innerHash); }