Class FileModel
Namespace:Microsoft.DocAsCode.Plugins
Assembly:Microsoft.DocAsCode.Plugins.dll
Syntax
public sealed class FileModel : IDisposable
Constructors
|
Improve this Doc
View Source
Declaration
public FileModel(FileAndType ft, object content, FileAndType original = null, IFormatter serializer = null)
Parameters
Properties
|
Improve this Doc
View Source
BaseDir
Declaration
public string BaseDir { get; set; }
Property Value
|
Improve this Doc
View Source
Content
Declaration
public object Content { get; set; }
Property Value
|
Improve this Doc
View Source
DocumentType
Declaration
public string DocumentType { get; set; }
Property Value
|
Improve this Doc
View Source
File
Declaration
public string File { get; set; }
Property Value
|
Improve this Doc
View Source
FileAndType
Declaration
public FileAndType FileAndType { get; }
Property Value
|
Improve this Doc
View Source
Key
Declaration
public string Key { get; }
Property Value
|
Improve this Doc
View Source
LinkToFiles
Declaration
public ImmutableHashSet<string> LinkToFiles { get; set; }
Property Value
Type |
Description |
System.Collections.Immutable.ImmutableHashSet<String> |
|
|
Improve this Doc
View Source
LinkToUids
Declaration
public ImmutableHashSet<string> LinkToUids { get; set; }
Property Value
Type |
Description |
System.Collections.Immutable.ImmutableHashSet<String> |
|
|
Improve this Doc
View Source
LocalPathFromRepoRoot
Declaration
public string LocalPathFromRepoRoot { get; set; }
Property Value
|
Improve this Doc
View Source
LocalPathFromRoot
Declaration
public string LocalPathFromRoot { get; set; }
Property Value
|
Improve this Doc
View Source
ManifestProperties
Declaration
public dynamic ManifestProperties { get; }
Property Value
|
Improve this Doc
View Source
ModelWithCache
Declaration
public ModelWithCache ModelWithCache { get; }
Property Value
|
Improve this Doc
View Source
OriginalFileAndType
Declaration
public FileAndType OriginalFileAndType { get; }
Property Value
|
Improve this Doc
View Source
PathRewriter
Declaration
public Func<string, string> PathRewriter { get; }
Property Value
|
Improve this Doc
View Source
Properties
Declaration
public dynamic Properties { get; }
Property Value
|
Improve this Doc
View Source
Type
Declaration
public DocumentType Type { get; }
Property Value
|
Improve this Doc
View Source
Uids
Declaration
public ImmutableArray<UidDefinition> Uids { get; set; }
Property Value
Type |
Description |
System.Collections.Immutable.ImmutableArray<UidDefinition> |
|
Methods
|
Improve this Doc
View Source
Dispose()
Declaration
Implements
Events
|
Improve this Doc
View Source
ContentAccessed
Declaration
public event EventHandler ContentAccessed
Event Type
|
Improve this Doc
View Source
FileOrBaseDirChanged
Declaration
public event EventHandler FileOrBaseDirChanged
Event Type
|
Improve this Doc
View Source
UidsChanged
Declaration
public event EventHandler<PropertyChangedEventArgs<ImmutableArray<UidDefinition>>> UidsChanged
Event Type
Extension Methods