Class SourceFileInfo
Parsed information for a source file.
Inheritance
SourceFileInfo
Assembly: cs.temp.dll.dll
public class SourceFileInfo
Properties
Gets the asset location of this source file.
Declaration
public AssetLocation AssetLocation { get; }
Property Value
Gets the asset location of this source file.
Declaration
public AssetLocation AssetLocation { get; }
Property Value
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
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
Declaration
public FileInfo File { get; }
Property Value
Type |
Description |
FileInfo |
|
Declaration
public FileInfo File { get; }
Property Value
Type |
Description |
FileInfo |
|
Gets the Asset Guid for this source file.
Declaration
public Guid Guid { get; }
Property Value
Gets the Asset Guid for this source file.
Declaration
public Guid Guid { get; }
Property Value
Methods
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
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