C# Class Regul.S3PI.Interfaces.AApiVersionedFields

API Objects should all descend from this Abstract class. It will provide versioning support -- when implemented. It provides ContentFields support
Inheritance: IContentFields
显示文件 Open project: Onebeld/Regul

Public Methods

Method Description
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

Protected Methods

Method Description
getMethods ( Int32 APIversion, Type t ) : List

Private Methods

Method Description
AApiVersionedFields ( ) : System

Method Details

CompareByPriority() public method

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
return int

FOURCC() public static method

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
return string

FOURCC() public static method

Convert a string (up to 8 characters) to a UInt64
public static FOURCC ( string s ) : ulong
s string String to convert
return ulong

FlagNames() public static method

Return a space-separated string containing valid enumeration names for the given type
public static FlagNames ( Type t ) : string
t Type Enum type
return string

GetContentFieldTypes() public static method

Gets a lookup table from fieldname to type.
public static GetContentFieldTypes ( Type t ) : Type>.Dictionary
t Type API data type to query
return Type>.Dictionary

GetContentFields() public static method

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
return List

GetTgiBlocks() public static method

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.
return DependentList

GetTgiBlocks() public method

Get the TGIBlock list for a Content Field.
public GetTgiBlocks ( string f ) : DependentList
f string The property name under inspection.
return DependentList

Invoke() public method

public Invoke ( string method ) : TypedValue
method string
return TypedValue

ToString() public method

Returns a string that represents the current AApiVersionedFields object.
public ToString ( ) : string
return string

getMethods() protected static method

protected static getMethods ( Int32 APIversion, Type t ) : List
APIversion Int32
t Type
return List

this() public method

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)
return TypedValue