Example #1
0
 public EnumerationState_I Enumerate <T>(CollectionContainer_I <T> container)
 {
     return(CollectionContainers.Enumerate(container));
 }
Example #2
0
 /// <summary>
 /// Enumerates through all the items in the collection and attempts to cast the items to the type T.
 /// </summary>
 public void Enumerate(CollectionContainer_I container, Action <object> action)
 {
     CollectionContainers.Enumerate(container, action);
 }
Example #3
0
 /// <summary>
 /// Enumerates through all the items in the collection and attempts to cast the items to the type T.
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="container"></param>
 /// <param name="action"></param>
 public void Enumerate <T>(CollectionContainer_I <T> container, Action <T> action)
 {
     CollectionContainers.Enumerate(container, action);
 }
Example #4
0
 public EnumerationState_I Enumerate <T>(CollectionContainer_I <T> container)
 {
     throw new NotImplementedException();
 }
Example #5
0
 /// <summary>
 /// Removes the object from the collection.
 /// </summary>
 /// <remarks>It is up to the collection implementation to determine how this is done.  This method should be used for business logic and not for low level collection access.</remarks>
 /// <typeparam name="T"></typeparam>
 /// <param name="container"></param>
 /// <param name="objectToRemove"></param>
 public void Remove <T>(CollectionContainer_I container, T objectToRemove)
 {
     CollectionContainers.Remove(container, objectToRemove);
 }
Example #6
0
 public void Enumerate <T>(CollectionContainer_I container, Action <T> action)
 {
     throw new NotImplementedException();
 }
Example #7
0
 public T MoveNext <T>(CollectionContainer_I <T> container, EnumerationState_I state)
 {
     throw new NotImplementedException();
 }
Example #8
0
 public AddResult_I <T> Add <T>(CollectionContainer_I container, T objectToAdd)
 {
     throw new NotImplementedException();
 }
Example #9
0
 public RemoveResult_I <T> Remove <T>(CollectionContainer_I container, T objectToRemove)
 {
     throw new NotImplementedException();
 }
Example #10
0
 /// <summary>
 /// Iterates through all the items in the collection and attempts to cast the items to the type T.  This is an alternative to supporting the for-each statement.
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="container"></param>
 /// <param name="action"></param>
 public static void Enumerate <T>(this CollectionContainer_I <T> container, Action <T> action)
 {
     XCollectionContainers.Enumerate(container, action);
 }
Example #11
0
 /// <summary>
 /// Removes the object from the collection.
 /// </summary>
 /// <remarks>It is up to the collection implementation to determine how this is done.  This method should be used for business logic and not for low level collection access.</remarks>
 /// <typeparam name="T"></typeparam>
 /// <param name="container"></param>
 /// <param name="objectToRemove"></param>
 public static RemoveResult_I <T> Remove <T>(this CollectionContainer_I container, T objectToRemove)
 {
     return(XCollectionContainers.Remove(container, objectToRemove));
 }
Example #12
0
 /// <summary>
 /// Iterates through all the items in the collection and attempts to cast the items to the type T.  This is an alternative to supporting the for-each statement.
 /// </summary>
 public static void Enumerate(this CollectionContainer_I container, Action <object> action)
 {
     XCollectionContainers.Enumerate(container, action);
 }
Example #13
0
 /// <summary>
 /// Adds the object to the collection.
 /// </summary>
 /// <remarks>It is up to the collection implementation to determine how this is done.  This method should be used for business logic and not for low level collection access.</remarks>
 public static AddResult_I <T> Add <T>(this CollectionContainer_I <T> container, T objectToAdd)
 {
     return(XCollectionContainers.Add(container, objectToAdd));
 }
Example #14
0
 public static void Enumerate <T>(CollectionContainer_I container, Action <T> action)
 {
     Api.Enumerate(container, action);
 }
Example #15
0
 public static AddResult_I <T> Add <T>(CollectionContainer_I container, T objectToAdd)
 {
     return(Api.Add(container, objectToAdd));
 }
Example #16
0
File: X.cs Project: E01D/Base
 /// <summary>
 /// Removes the object from the collection.
 /// </summary>
 /// <remarks>It is up to the collection implementation to determine how this is done.  This method should be used for business logic and not for low level collection access.</remarks>
 /// <typeparam name="T"></typeparam>
 /// <param name="container"></param>
 /// <param name="objectToRemove"></param>
 public static void Remove <T>(this CollectionContainer_I container, T objectToRemove)
 {
     Api.Remove(container, objectToRemove);
 }