C# Class DungeonMasterEngine.DungeonContent.Constrains.TypeConstrain

Inheritance: IConstrain
Show file Open project: ggrrin/DungeonMaster

Public Methods

Method Description
IsAcceptable ( object item ) : bool
ToString ( ) : string
TypeConstrain ( Type acceptableType, bool acceptChild = true ) : System

Method Details

IsAcceptable() public method

public IsAcceptable ( object item ) : bool
item object
return bool

ToString() public method

public ToString ( ) : string
return string

TypeConstrain() public method

public TypeConstrain ( Type acceptableType, bool acceptChild = true ) : System
acceptableType System.Type
acceptChild bool
return System