public Property ( string name, string type, Access access = Access.Public, Access setter = Access.Private ) : void | ||
name | string | The name of the property |
type | string | The type of the property |
access | Access | The access specifier for the property |
setter | Access | The setter specifier for the property |
Résultat | void |
public void Property(string name, string type, Access access = Access.Public, Access setter = Access.Private)
{
WriteLine("{0} {1} {2} {{ get; {3} set; }}",
access.ToAccessString(),
type,
name,
setter.ToAccessString());
}
CSharpTypeGenerator.CSharpEmitter::Property ( string name, string type, string body, Access access = Access.Public ) : void |