Class FileAndType
Namespace:Microsoft.DocAsCode.Plugins
Assembly:Microsoft.DocAsCode.Plugins.dll
Syntax
public sealed class FileAndType : IEquatable<FileAndType>
Constructors
|
Improve this Doc
View Source
FileAndType(String, String, DocumentType, Func<String, String>)
Declaration
public FileAndType(string baseDir, string file, DocumentType type, Func<string, string> pathRewriter)
Parameters
Properties
|
Improve this Doc
View Source
BaseDir
Declaration
public string BaseDir { get; }
Property Value
|
Improve this Doc
View Source
File
Declaration
public string File { get; }
Property Value
|
Improve this Doc
View Source
FullPath
Declaration
public string FullPath { get; }
Property Value
|
Improve this Doc
View Source
PathRewriter
Declaration
public Func<string, string> PathRewriter { get; }
Property Value
|
Improve this Doc
View Source
StringComparer
Declaration
public StringComparer StringComparer { get; }
Property Value
|
Improve this Doc
View Source
Type
Declaration
public DocumentType Type { get; }
Property Value
Methods
|
Improve this Doc
View Source
ChangeType(DocumentType)
Declaration
public FileAndType ChangeType(DocumentType type)
Parameters
Returns
|
Improve this Doc
View Source
Equals(FileAndType)
Declaration
public bool Equals(FileAndType other)
Parameters
Returns
Implements
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
|
Improve this Doc
View Source
Equality(FileAndType, FileAndType)
Declaration
public static bool operator ==(FileAndType left, FileAndType right)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(FileAndType, FileAndType)
Declaration
public static bool operator !=(FileAndType left, FileAndType right)
Parameters
Returns
Extension Methods