CSharpTest.Net
FileList Class Members
See Also  Properties  Methods  Events Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Utils Namespace : FileList Class


Glossary Item Box

The following tables list the members exposed by FileList.

Public Constructors

 NameDescription
Public ConstructorFileList ConstructorOverloaded.   
Top

Public Properties

 NameDescription
Public PropertyComparerGets the generic equality comparer that is used to determine equality of keys in the collection. (Inherited from System.Collections.ObjectModel.KeyedCollection<string,FileInfo>)
Public PropertyCountGets the number of elements actually contained in the Collection. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>)
Public PropertyIgnoreFolderAttributesSetting this will greatly improve performance at the cost of not evaluating filters on directories  
Public PropertyItemOverloaded. Gets the element with the specified key. (Inherited from System.Collections.ObjectModel.KeyedCollection<string,FileInfo>)
Public PropertyProhibitedAttributesSet this to the set of attributes that if a directory or file contains should be skipped. For example when set to FileAttributes.Hidden, hidden files and folders will be ignored.  
Public PropertyRecurseFoldersGets or sets a value that allows traversal of all directories added.  
Top

Protected Properties

 NameDescription
Protected PropertyDictionaryGets the lookup dictionary of the KeyedCollection. (Inherited from System.Collections.ObjectModel.KeyedCollection<string,FileInfo>)
Protected PropertyItemsGets a IList wrapper around the Collection. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>)
Top

Public Methods

 NameDescription
Public MethodAddOverloaded. Adds a set of items to the collection, see Add(string) for details.  
Public MethodAddRangeAdds one or files to the collection  
Public MethodClearRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>)
Public MethodContainsOverloaded. Returns true if the given file is in the collection  
Public MethodCopyToCopies the entire Collection to a compatible one-dimensional System.Array, starting at the specified index of the target array. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>)
Public MethodGetEnumeratorReturns an enumerator that iterates through the Collection. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>)
Public MethodGetFileNamesConverts all FileInfo elements into their fully-qualified file names  
Public MethodIndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>)
Public MethodInsertInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>)
Public MethodRemoveOverloaded. Remove the files specified if they exist in the collection  
Public MethodRemoveAtRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>)
Public MethodToArrayReturns the collection of FileInfo as an array  
Top

Protected Methods

 NameDescription
Protected MethodChangeItemKeyChanges the key associated with the specified element in the lookup dictionary. (Inherited from System.Collections.ObjectModel.KeyedCollection<string,FileInfo>)
Protected MethodClearItemsRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>)
Protected MethodGetKeyForItemOverridden. The key for the specified element.  
Protected MethodInsertItemInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>)
Protected MethodRemoveItemRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>)
Protected MethodSetItemReplaces the element at the specified index. (Inherited from System.Collections.ObjectModel.Collection<FileInfo>)
Top

Public Events

 NameDescription
Public EventFileFoundRaised when a new file is about to be added to the collection, set e.Ignore to true will cancel the addition of this file.  
Top

See Also

Generated with Document! X 2011 by Innovasys