Description
The IncludeSourceFiles
property of the ProjectConfig
class in the Sandbox.DataModel
namespace determines whether all source files should be included in the project configuration. When set to true
, the source files are included; otherwise, they are not.
Usage
To use the IncludeSourceFiles
property, you can access it directly from an instance of the ProjectConfig
class. This property is a boolean, so it can be set to either true
or false
depending on whether you want to include source files in your project configuration.
Example
// Example of setting the IncludeSourceFiles property
// Create an instance of ProjectConfig
ProjectConfig config = new ProjectConfig();
// Set IncludeSourceFiles to true to include all source files
config.IncludeSourceFiles = true;
// Check if source files are included
bool areSourceFilesIncluded = config.IncludeSourceFiles;
// Output the result
// Note: Avoid using Console.WriteLine in Sandbox
// Instead, use logging or other appropriate methods
// Log.Info($"IncludeSourceFiles: {areSourceFilesIncluded}");