Class IndexedFile
Represents a file with an associated index.
public class IndexedFile : IEquatable<IndexedFile>
- Inheritance
-
IndexedFile
- Implements
- Inherited Members
- Extension Methods
Constructors
IndexedFile()
Initializes a new instance of the IndexedFile class.
public IndexedFile()
IndexedFile(IndexedFile)
Copy ctor.
public IndexedFile(IndexedFile src)
Parameters
src
IndexedFilesrc
IndexedFile(string, int)
Initializes a new instance of the IndexedFile class with the specified file path and index.
public IndexedFile(string filePath, int fileIndex)
Parameters
Properties
FileIndex
File Index. Start on 0.
public int FileIndex { get; set; }
Property Value
FilePath
File path.
public string FilePath { get; set; }
Property Value
Methods
Equals(IndexedFile)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(IndexedFile other)
Parameters
other
IndexedFileAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.