C# Class KBS2.Handlers.ItemHandler.ItemTypeHandler

ファイルを表示 Open project: Railec/SE1cKBS2 Class Usage Examples

Public Methods

Method Description
AmountInRoom ( ItemType type, Room r ) : int
CreateType ( ItemType type ) : void
DeleteType ( ItemType type ) : void
GetAllTypes ( ) : IList
GetByName ( String description ) : ItemType
GetInstance ( ) : ItemTypeHandler
GetItemTypesBy ( ItemTypeMatchDelegate match ) : List
InRoom ( Room r ) : List
LoadItemTypes ( ) : void
SavePicture ( ItemType type, String path ) : void
loadImage ( ItemType type ) : void

Private Methods

Method Description
EventItemTypeChanged ( object sender, EventArgs e ) : void
EventItemTypeCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
ItemTypeHandler ( ) : System

Method Details

AmountInRoom() public method

public AmountInRoom ( ItemType type, Room r ) : int
type KBS2.Models.ItemType
r KBS2.Models.Room
return int

CreateType() public method

public CreateType ( ItemType type ) : void
type KBS2.Models.ItemType
return void

DeleteType() public method

public DeleteType ( ItemType type ) : void
type KBS2.Models.ItemType
return void

GetAllTypes() public method

public GetAllTypes ( ) : IList
return IList

GetByName() public method

public GetByName ( String description ) : ItemType
description String
return KBS2.Models.ItemType

GetInstance() public static method

public static GetInstance ( ) : ItemTypeHandler
return ItemTypeHandler

GetItemTypesBy() public method

public GetItemTypesBy ( ItemTypeMatchDelegate match ) : List
match ItemTypeMatchDelegate
return List

InRoom() public method

public InRoom ( Room r ) : List
r KBS2.Models.Room
return List

LoadItemTypes() public method

public LoadItemTypes ( ) : void
return void

SavePicture() public method

public SavePicture ( ItemType type, String path ) : void
type KBS2.Models.ItemType
path String
return void

loadImage() public method

public loadImage ( ItemType type ) : void
type KBS2.Models.ItemType
return void