Class CSharpTypeExtensions
Extension methods for ICSharpType.
Namespace: NanoByte.CodeGeneration
Assembly: NanoByte.CodeGeneration.dll
Syntax
public static class CSharpTypeExtensions : Object
Methods
WriteToDirectory(ICSharpType, String)
Writes C# code for the type to a file in the directory at path
.
Declaration
public static void WriteToDirectory(this ICSharpType type, string path)
Parameters
Type | Name | Description |
---|---|---|
ICSharpType | type | |
String | path |
WriteToFile(ICSharpType, String)
Writes C# code for the type to a file at path
.
Declaration
public static void WriteToFile(this ICSharpType type, string path)
Parameters
Type | Name | Description |
---|---|---|
ICSharpType | type | |
String | path |