Table of Contents

Class RDCoreProject

Namespace
RDCore.SDK.Workspace
Assembly
RDCore.SDK.dll

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

RDCoreModule[]

Name

public string Name { get; init; }

Property Value

string

OtherFiles

public RDCoreFile[] OtherFiles { get; init; }

Property Value

RDCoreFile[]

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

Dictionary<string, string>

References

public RDCoreReference[] References { get; init; }

Property Value

RDCoreReference[]

Methods

GetFolderFiles(string)

public IEnumerable<RDCoreFile> GetFolderFiles(string folder)

Parameters

folder string

Returns

IEnumerable<RDCoreFile>

GetWorkspaceFolders(string)

public HashSet<string> GetWorkspaceFolders(string srcRoot)

Parameters

srcRoot string

Returns

HashSet<string>

WithDocument(RDCoreFile)

public RDCoreProject WithDocument(RDCoreFile document)

Parameters

document RDCoreFile

Returns

RDCoreProject

WithFolder(string)

public RDCoreProject WithFolder(string folder)

Parameters

folder string

Returns

RDCoreProject

WithModule(RDCoreModule)

public RDCoreProject WithModule(RDCoreModule module)

Parameters

module RDCoreModule

Returns

RDCoreProject

WithName(string)

public RDCoreProject WithName(string name)

Parameters

name string

Returns

RDCoreProject

WithPrecompilerConstant(string, string)

public RDCoreProject WithPrecompilerConstant(string name, string value)

Parameters

name string
value string

Returns

RDCoreProject

WithReference(RDCoreReference)

public RDCoreProject WithReference(RDCoreReference reference)

Parameters

reference RDCoreReference

Returns

RDCoreProject

WithoutDocument(RDCoreFile)

public RDCoreProject WithoutDocument(RDCoreFile document)

Parameters

document RDCoreFile

Returns

RDCoreProject

WithoutFolder(string)

public RDCoreProject WithoutFolder(string folder)

Parameters

folder string

Returns

RDCoreProject

WithoutModule(RDCoreModule)

public RDCoreProject WithoutModule(RDCoreModule module)

Parameters

module RDCoreModule

Returns

RDCoreProject

WithoutPrecompilerConstant(string)

public RDCoreProject WithoutPrecompilerConstant(string name)

Parameters

name string

Returns

RDCoreProject

WithoutReference(RDCoreReference)

public RDCoreProject WithoutReference(RDCoreReference reference)

Parameters

reference RDCoreReference

Returns

RDCoreProject