C# Class SchemaWrapperTools.SchemaDataWrapper

Mostrar archivo Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
AddData ( string name, System typeIn, UnitType unit, SchemaWrapper subSchema ) : void

Adds a new field to the wrapper's list of fields.

SchemaDataWrapper ( System.Guid schemaId, AccessLevel readAccess, AccessLevel writeAccess, string vendorId, string applicationId, string name, string documentation ) : System

Create a new SchemaDataWrapper

Private Methods

Method Description
SchemaDataWrapper ( ) : System

For serialization only -- Do not use.

Method Details

AddData() public method

Adds a new field to the wrapper's list of fields.
public AddData ( string name, System typeIn, UnitType unit, SchemaWrapper subSchema ) : void
name string the name of the field
typeIn System the data type of the field
unit UnitType The unit type of the Field (set to UT_Undefined for non-floating point types
subSchema SchemaWrapper The SchemaWrapper of the field's subSchema, if the field is of type "Entity"
return void

SchemaDataWrapper() public method

Create a new SchemaDataWrapper
public SchemaDataWrapper ( System.Guid schemaId, AccessLevel readAccess, AccessLevel writeAccess, string vendorId, string applicationId, string name, string documentation ) : System
schemaId System.Guid The Guid of the Schema
readAccess AccessLevel The access level for read permission
writeAccess AccessLevel The access level for write permission
vendorId string The user-registered vendor ID string
applicationId string The application ID from the application manifest
name string The name of the schema
documentation string Descriptive details on the schema
return System