Table of Contents

Class Boilerplate

Namespace
SunamoDevCode
Assembly
SunamoDevCode.dll

Provides boilerplate code templates for C# code generation

public class Boilerplate
Inheritance
Boilerplate
Inherited Members
Extension Methods

Methods

CSharpClass(string, string, string, string)

Generates C# class boilerplate with initialization method

public static string CSharpClass(string addNamespacesLines, string className, string fields, string contentOfInitMethod)

Parameters

addNamespacesLines string

Additional namespace using declarations

className string

Name of the class

fields string

Field declarations

contentOfInitMethod string

Content of Init method

Returns

string

CSharpCmd(string)

Generates C# command-line program boilerplate

public static string CSharpCmd(string innerMain)

Parameters

innerMain string

Main method content

Returns

string