Table of Contents

Class CSharpGeneratorArgs

Namespace
SunamoDevCode.SunamoCSharp.Args
Assembly
SunamoDevCode.dll

Arguments for C# code generator

public class CSharpGeneratorArgs
Inheritance
CSharpGeneratorArgs
Inherited Members
Extension Methods

Properties

AddHyphens

Whether to add quotes/hyphens around string values

public bool AddHyphens { get; set; }

Property Value

bool

AddingValue

Whether to add value to the generated code

public bool AddingValue { get; set; }

Property Value

bool

AlsoField

Whether to also generate a field

public bool AlsoField { get; set; }

Property Value

bool

CheckForNull

Whether to check for null before operations

public bool CheckForNull { get; set; }

Property Value

bool

CreateInstance

Whether to create an instance of the generated type

public bool CreateInstance { get; set; }

Property Value

bool

SplitKeyWith

Delimiter to split keys with (must be char or string)

public string? SplitKeyWith { get; set; }

Property Value

string

UseCA

Whether to use CA (Collection Add) helper

public bool UseCA { get; set; }

Property Value

bool