Ejemplo n.º 1
0
 public object Clone()
 {
     return(CollectionStrings.Select(x => x.Clone()).ToList() as object);
 }
Ejemplo n.º 2
0
 // Summary:
 //     Searches for the specified object and returns the zero-based index of the
 //     first occurrence within the entire System.Collections.Generic.List<String>.
 //
 // Parameters:
 //   item:
 //     The object to locate in the System.Collections.Generic.List<String>. The value
 //     can be null for reference types.
 //
 // Returns:
 //     The zero-based index of the first occurrence of item within the entire System.Collections.Generic.List<String>,
 //     if found; otherwise, –1.
 public int IndexOf(String item)
 {
     return(CollectionStrings.IndexOf(item));
 }
Ejemplo n.º 3
0
 // Summary:
 //     Adds an object to the end of the Process.
 //
 // Parameters:
 //   item:
 //     The object to be added to the end of the System.Collections.Generic.List<String> Processes.
 //     The value can be null for reference types.
 public void Add(Process item)
 {
     CollectionStrings.Add(item.ProcessName);
 }
Ejemplo n.º 4
0
 // Summary:
 //     Adds an object to the end of the System.Collections.Generic.List<String>.
 //
 // Parameters:
 //   item:
 //     The object to be added to the end of the System.Collections.Generic.List<String>.
 //     The value can be null for reference types.
 public void Add(String item)
 {
     CollectionStrings.Add(item);
 }
Ejemplo n.º 5
0
 System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
 {
     return(CollectionStrings.GetEnumerator());
 }
Ejemplo n.º 6
0
 public IEnumerator <String> GetEnumerator()
 {
     return(CollectionStrings.GetEnumerator());
 }