SourceFile Class ​
Definition ​
A file of source code.
c#
public abstract class SourceFile : IEquatable<SourceFile>, IEqualityOperators<SourceFile, SourceFile, Boolean>Constructors ​
| Name | Description |
|---|---|
SourceFile(String, Int32) | Initialises a new instance of the SourceFile class. |
Properties ​
| Name | Description |
|---|---|
Length | The length of the source file. |
Name | The name of the source file. |
Methods ​
| Name | Description |
|---|---|
Equals(SourceFile) | Indicates whether the current object is equal to another object of the same type. |
Equals(Object) | Determines whether the specified object is equal to the current object. |
GetHashCode() | Serves as the default hash function. |
ToString() | Returns a string that represents the current object. |
Operators ​
| Name | Description |
|---|---|
Equality(SourceFile, SourceFile) | Determines whether two specified SourceFiles have the same value. |
Inequality(SourceFile, SourceFile) | Determines whether two specified SourceFiles have different values. |