Class RDCoreProject
The workspace structure and project-level configuration declared by a .rdproj.
public record RDCoreProject : IEquatable<RDCoreProject>
- Inheritance
-
RDCoreProject
- Implements
- Inherited Members
Properties
Folders
public string[] Folders { get; set; }
Property Value
- string[]
Modules
public RDCoreModule[] Modules { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
OtherFiles
public RDCoreFile[] OtherFiles { get; init; }
Property Value
PrecompilerConstants
Project-level precompiler constants (#Const), keyed by name. The value is the literal
source text of the constant expression (e.g. "1", "-1", ""debug"").
CLI --define arguments override these.
public Dictionary<string, string> PrecompilerConstants { get; init; }
Property Value
References
public RDCoreReference[] References { get; init; }
Property Value
Methods
GetFolderFiles(string)
public IEnumerable<RDCoreFile> GetFolderFiles(string folder)
Parameters
folderstring
Returns
GetWorkspaceFolders(string)
public HashSet<string> GetWorkspaceFolders(string srcRoot)
Parameters
srcRootstring
Returns
WithDocument(RDCoreFile)
public RDCoreProject WithDocument(RDCoreFile document)
Parameters
documentRDCoreFile
Returns
WithFolder(string)
public RDCoreProject WithFolder(string folder)
Parameters
folderstring
Returns
WithModule(RDCoreModule)
public RDCoreProject WithModule(RDCoreModule module)
Parameters
moduleRDCoreModule
Returns
WithName(string)
public RDCoreProject WithName(string name)
Parameters
namestring
Returns
WithPrecompilerConstant(string, string)
public RDCoreProject WithPrecompilerConstant(string name, string value)
Parameters
Returns
WithReference(RDCoreReference)
public RDCoreProject WithReference(RDCoreReference reference)
Parameters
referenceRDCoreReference
Returns
WithoutDocument(RDCoreFile)
public RDCoreProject WithoutDocument(RDCoreFile document)
Parameters
documentRDCoreFile
Returns
WithoutFolder(string)
public RDCoreProject WithoutFolder(string folder)
Parameters
folderstring
Returns
WithoutModule(RDCoreModule)
public RDCoreProject WithoutModule(RDCoreModule module)
Parameters
moduleRDCoreModule
Returns
WithoutPrecompilerConstant(string)
public RDCoreProject WithoutPrecompilerConstant(string name)
Parameters
namestring
Returns
WithoutReference(RDCoreReference)
public RDCoreProject WithoutReference(RDCoreReference reference)
Parameters
referenceRDCoreReference