BACnet.SchemaCompiler.CodeGen.CSharpTypeGenerator.CSharpEmitter.AbstractProperty C# (CSharp) Method

AbstractProperty() public method

Creates a new abstract property
public AbstractProperty ( string name, string type, Access access = Access.Public ) : void
name string The name of the property
type string The type of the property
access Access The access specifier for the property
return void
            public void AbstractProperty(string name, string type, Access access = Access.Public)
            {
                WriteLine("{0} abstract {1} {2} {{ get; }}",
                    access.ToAccessString(),
                    type,
                    name);
            }