TarFileSetCollection Class

Summary

Contains a collection of NAnt.Compression.Types.TarFileSet elements.
Assembly
NAnt.Compression.dll
Namespace
NAnt.Compression.Types
Base Types
  • CollectionBase
graph BT Type-->Base0["CollectionBase"] Type["TarFileSetCollection"] class Type type-node

Syntax

[Serializable()]
public class TarFileSetCollection : CollectionBase

Attributes

Type Description
SerializableAttribute

Constructors

Name Summary
TarFileSetCollection() Initializes a new instance of the NAnt.Compression.Types.TarFileSetCollection class.
TarFileSetCollection(TarFileSet[]) Initializes a new instance of the NAnt.Compression.Types.TarFileSetCollection class with the specified array of NAnt.Compression.Types.TarFileSet instances.
TarFileSetCollection(TarFileSetCollection) Initializes a new instance of the NAnt.Compression.Types.TarFileSetCollection class with the specified NAnt.Compression.Types.TarFileSetCollection instance.

Properties

Name Value Summary
FileCount int
Get the total number of files that are represented by the filesets in this collection.
this[int] TarFileSet
Gets or sets the element at the specified index.

Methods

Name Value Summary
Add(TarFileSet) int
Adds a NAnt.Compression.Types.TarFileSet to the end of the collection.
AddRange(TarFileSet[]) void
Adds the elements of a NAnt.Compression.Types.TarFileSet array to the end of the collection.
AddRange(TarFileSetCollection) void
Adds the elements of a NAnt.Compression.Types.TarFileSetCollection to the end of the collection.
Contains(TarFileSet) bool
Determines whether a NAnt.Compression.Types.TarFileSet is in the collection.
CopyTo(TarFileSet[], int) void
Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
GetEnumerator() TarFileSetEnumerator
Returns an enumerator that can iterate through the collection.
IndexOf(TarFileSet) int
Retrieves the index of a specified NAnt.Compression.Types.TarFileSet object in the collection.
Insert(int, TarFileSet) void
Inserts a NAnt.Compression.Types.TarFileSet into the collection at the specified index.
Remove(TarFileSet) void
Removes a member from the collection.