C# Class Patchwork.NewTypeAttribute

Inheritance: TypeActionAttribute
显示文件 Open project: GregRos/Patchwork Class Usage Examples

Public Methods

Method Description
NewTypeAttribute ( string newTypeName = null, string newNamespace = null ) : System

Private Methods

Method Description
NewTypeAttribute ( bool isImplicit, string newTypeName = null, string newNamespace = null ) : System

Creates a new NewTypeAttribute, possibly marking the type as implicit.

Method Details

NewTypeAttribute() public method

public NewTypeAttribute ( string newTypeName = null, string newNamespace = null ) : System
newTypeName string The short name under which the type is introduced. If null, the name is unchanged. Dots should not be used here.
newNamespace string The namespace under which the type will be introduced. May contain dots. If null, the type is unchanged.
return System