C# Класс Regul.S3PI.Interfaces.AApiVersionedFields

API Objects should all descend from this Abstract class. It will provide versioning support -- when implemented. It provides ContentFields support
Наследование: IContentFields
Показать файл Открыть проект

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

Метод Описание
CompareByPriority ( string x, string y ) : int

Sorts Content Field names by their ElementPriorityAttribute (if set)

FOURCC ( ulong i ) : string

Convert a UInt64 to a string (up to 8 characters, high-order zeros omitted)

FOURCC ( string s ) : ulong

Convert a string (up to 8 characters) to a UInt64

FlagNames ( Type t ) : string

Return a space-separated string containing valid enumeration names for the given type

GetContentFieldTypes ( Type t ) : Type>.Dictionary

Gets a lookup table from fieldname to type.

GetContentFields ( Type t ) : List

Versioning is not currently implemented Return the list of fields for a given API Class

GetTgiBlocks ( AApiVersionedFields o, string f ) : DependentList

Get the TGIBlock list for a Content Field.

GetTgiBlocks ( string f ) : DependentList

Get the TGIBlock list for a Content Field.

Invoke ( string method ) : TypedValue
ToString ( ) : string

Returns a string that represents the current AApiVersionedFields object.

this ( string index ) : TypedValue

A typed value on this object

Защищенные методы

Метод Описание
getMethods ( Int32 APIversion, Type t ) : List

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

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

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

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

Sorts Content Field names by their ElementPriorityAttribute (if set)
public CompareByPriority ( string x, string y ) : int
x string First content field name
y string Second content field name
Результат int

FOURCC() публичный статический Метод

Convert a UInt64 to a string (up to 8 characters, high-order zeros omitted)
public static FOURCC ( ulong i ) : string
i ulong Bytes to convert
Результат string

FOURCC() публичный статический Метод

Convert a string (up to 8 characters) to a UInt64
public static FOURCC ( string s ) : ulong
s string String to convert
Результат ulong

FlagNames() публичный статический Метод

Return a space-separated string containing valid enumeration names for the given type
public static FlagNames ( Type t ) : string
t Type Enum type
Результат string

GetContentFieldTypes() публичный статический Метод

Gets a lookup table from fieldname to type.
public static GetContentFieldTypes ( Type t ) : Type>.Dictionary
t Type API data type to query
Результат Type>.Dictionary

GetContentFields() публичный статический Метод

Versioning is not currently implemented Return the list of fields for a given API Class
public static GetContentFields ( Type t ) : List
t Type The class type for which to get the fields
Результат List

GetTgiBlocks() публичный статический Метод

Get the TGIBlock list for a Content Field.
public static GetTgiBlocks ( AApiVersionedFields o, string f ) : DependentList
o AApiVersionedFields The object to query.
f string The property name under inspection.
Результат DependentList

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

Get the TGIBlock list for a Content Field.
public GetTgiBlocks ( string f ) : DependentList
f string The property name under inspection.
Результат DependentList

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

public Invoke ( string method ) : TypedValue
method string
Результат TypedValue

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

Returns a string that represents the current AApiVersionedFields object.
public ToString ( ) : string
Результат string

getMethods() защищенный статический Метод

protected static getMethods ( Int32 APIversion, Type t ) : List
APIversion Int32
t Type
Результат List

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

A typed value on this object
Thrown when an unknown index name is requested
public this ( string index ) : TypedValue
index string The name of the field (i.e. one of the values from ContentFields)
Результат TypedValue