C# Class Zetbox.API.InterfaceType

Exibir arquivo Open project: daszat/zetbox Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetRootType ( ) : InterfaceType

Returns the root of the specified InterfaceType's data model. The root is the top-most interface in this interface's parentage that inherits only from one of the base interfaces. Interfaces that do not inherit from one of the base interfaces are excluded from all considerations.

IsAssignableFrom ( InterfaceType b ) : bool
ToSerializableType ( ) : SerializableType
ToString ( ) : string
operator ( ) : bool

Private Methods

Method Description
Create ( Type type, IInterfaceTypeChecker typeChecker ) : InterfaceType
GetInterestingInterfaces ( Type baseInterface, Type t ) : System.Type[]

Returns an array of interfaces that are potential base interfaces of type baseInterface for the specified Type t.

InterfaceType ( Type type, IInterfaceTypeChecker typeChecker ) : System

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetRootType() public method

Returns the root of the specified InterfaceType's data model. The root is the top-most interface in this interface's parentage that inherits only from one of the base interfaces. Interfaces that do not inherit from one of the base interfaces are excluded from all considerations.
public GetRootType ( ) : InterfaceType
return InterfaceType

IsAssignableFrom() public method

public IsAssignableFrom ( InterfaceType b ) : bool
b InterfaceType
return bool

ToSerializableType() public method

public ToSerializableType ( ) : SerializableType
return SerializableType

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : bool
return bool