C# Класс SchemaWrapperTools.SchemaDataWrapper

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
SchemaDataWrapper ( ) : System

For serialization only -- Do not use.

Описание методов

AddData() публичный Метод

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"
Результат void

SchemaDataWrapper() публичный Метод

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
Результат System