C# Class Medusa.Siren.Schema.SirenCustomClass

Inheritance: BaseSirenCustomType
Mostrar archivo Open project: fjz13/Medusa Class Usage Examples

Public Methods

Method Description
AddAttribute ( string name, string val ) : void
Clone ( ) : object
FindField ( String name ) : SirenField
FindField ( ushort id ) : SirenField
GetBasePropertyCount ( ) : ushort
Initialize ( ) : bool
Link ( SirenAssembly assembly ) : bool
LoadFrom ( Stream stream ) : bool
SaveTo ( Stream stream ) : bool
SetAttribute ( string val ) : void
SirenCustomClass ( Type type, SirenClassAttribute attribute ) : System
SirenCustomClass ( string name = "" ) : System

Method Details

AddAttribute() public method

public AddAttribute ( string name, string val ) : void
name string
val string
return void

Clone() public method

public Clone ( ) : object
return object

FindField() public method

public FindField ( String name ) : SirenField
name String
return SirenField

FindField() public method

public FindField ( ushort id ) : SirenField
id ushort
return SirenField

GetBasePropertyCount() public method

public GetBasePropertyCount ( ) : ushort
return ushort

Initialize() public method

public Initialize ( ) : bool
return bool

Link() public method

public Link ( SirenAssembly assembly ) : bool
assembly SirenAssembly
return bool

LoadFrom() public method

public LoadFrom ( Stream stream ) : bool
stream Stream
return bool

SaveTo() public method

public SaveTo ( Stream stream ) : bool
stream Stream
return bool

SetAttribute() public method

public SetAttribute ( string val ) : void
val string
return void

SirenCustomClass() public method

public SirenCustomClass ( Type type, SirenClassAttribute attribute ) : System
type System.Type
attribute SirenClassAttribute
return System

SirenCustomClass() public method

public SirenCustomClass ( string name = "" ) : System
name string
return System