Class TextFileDiffList
Represents a list of differences
Inheritance
System.Object
TextFileDiffList
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OSGeo.MapGuide.MaestroAPI.Resource.Comparison
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public class TextFileDiffList : IDiffList
Constructors
| Improve this Doc View SourceTextFileDiffList(String)
Creates a new instance
Declaration
public TextFileDiffList(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName |
TextFileDiffList(String, Boolean)
Creates a new instance
Declaration
public TextFileDiffList(string fileName, bool deleteFile)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | |
System.Boolean | deleteFile |
Methods
| Improve this Doc View SourceCount()
Gets the number of lines
Declaration
public int Count()
Returns
Type | Description |
---|---|
System.Int32 |
GetByIndex(Int32)
Gets the line at the specified index
Declaration
public IComparable GetByIndex(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Returns
Type | Description |
---|---|
System.IComparable |