C# Class TagsGrooveControls.Model.TagManager

Mostra file Open project: kienaiProject/ArtOfWords

Public Methods

Method Description
Add ( Tag tag ) : void
ConnectChildrenToParent ( Tag tag ) : void
ConnectTags ( Tag parent, Tag child ) : void
DisconnectFromParent ( Tag tag ) : void
GenerateNewTag ( ) : Tag
GetBaseTag ( ) : Tag
OnTagRemoved ( Tag tag ) : void
Remove ( Tag tag, RemoveType type ) : void
RemoveChildren ( Tag tag ) : void
TagManager ( ) : System

Private Methods

Method Description
GetNewId ( ) : int
RemoveFromDictonary ( Tag tag ) : void

Method Details

Add() public method

public Add ( Tag tag ) : void
tag Tag
return void

ConnectChildrenToParent() public method

public ConnectChildrenToParent ( Tag tag ) : void
tag Tag
return void

ConnectTags() public method

public ConnectTags ( Tag parent, Tag child ) : void
parent Tag
child Tag
return void

DisconnectFromParent() public method

public DisconnectFromParent ( Tag tag ) : void
tag Tag
return void

GenerateNewTag() public method

public GenerateNewTag ( ) : Tag
return Tag

GetBaseTag() public method

public GetBaseTag ( ) : Tag
return Tag

OnTagRemoved() public method

public OnTagRemoved ( Tag tag ) : void
tag Tag
return void

Remove() public method

public Remove ( Tag tag, RemoveType type ) : void
tag Tag
type RemoveType
return void

RemoveChildren() public method

public RemoveChildren ( Tag tag ) : void
tag Tag
return void

TagManager() public method

public TagManager ( ) : System
return System