Class SourceFileInfo
Parsed information for a source file.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.MSBuild
Assembly: cs.temp.dll.dll
Syntax
public class SourceFileInfo
Properties
AssetLocation
Gets the asset location of this source file.
Declaration
public AssetLocation AssetLocation { get; }
Property Value
Type | Description |
---|---|
AssetLocation |
ClassType
Gets the class type of this source file. May be null, if the file was not inside the Unity project.
Declaration
public Type ClassType { get; }
Property Value
Type | Description |
---|---|
Type |
File
Gets the file on disk.
Declaration
public FileInfo File { get; }
Property Value
Type | Description |
---|---|
FileInfo |
Guid
Gets the Asset Guid for this source file.
Declaration
public Guid Guid { get; }
Property Value
Type | Description |
---|---|
Guid |
Methods
Parse(FileInfo, Type)
Parses the source file at a given path.
Declaration
public static SourceFileInfo Parse(FileInfo path, Type classType = null)
Parameters
Type | Name | Description |
---|---|---|
FileInfo | path | |
Type | classType |
Returns
Type | Description |
---|---|
SourceFileInfo |