Machinations

Public Member Functions | Properties | Events | List of all members
Machinations.UserComponents.Cards Class Reference
Inheritance diagram for Machinations.UserComponents.Cards:

## Public Member Functions

| Cards ()
| Cards (string fileName)
| Cards (XmlElement element)
void | SaveToComponentsFolder ()
| uklada sebe sama do samostatneho filu More...
IUserComponentInstance | GetNewUcInstance (IUserComponentInstance previousInstance=null)
IUserComponentInstance | GetInstance (int instanceNumber)
void | UpdateOuters ()
IEnumerable< IUserComponentInstance > | GetInstances ()
void | GenerateNewVersion ()
XmlElement | GenerateXmlTemplate (XmlDocument document)
IUserComponentSchema | Clone ()
void | ReadXml (XmlElement element)
void | GenerateCards ()
InnerInOut | CreateInOut (Point position, bool? input=null, int? inOutNumber=null)
void | RemoveInOut (InnerInOut inOut)
void | DeleteXmlTemplate ()
void | UnZip ()
void | Zip ()
string | CreateCardTemplate (bool choose)
void | RemoveCardTemplate (string name)
void | ChooseActiveTemplate (string name)
bool | TrySetCurrentCardName (string value)
UserComponent | GetCardInstance (int currentCard)
void | TakeCard (UserComponent card)
void | ApplyCardTake ()
void | Dispose ()
void | CardChanged (bool goingDeeper)
| rekne instancim,aby si vymenily karty. Instance jsou serazene podle toho, kam ukazuji, a je potreba, aby se při směru dolu zacinalo nejhlubsi instanci a pri smeru vzhuru instanci nahore More...
bool | SameSchema (IUserComponentSchema otherSchema)
IEnumerable< IUserComponentSchema > | GetInnerComponents ()

## Properties

Graph | Graph`[get, set]`
CardTemplate | CurrentCard`[get]`
string | Name`[get, set]`
int | UcId`[get, set]`
string | NameDate`[get]`
string | FileName`[get]`
IEnumerable< InnerInOut > | InnerInOuts`[get]`
List< string > | TemplateNames`[get]`
IEnumerable< string > | ActualTemplateNames`[get]`
int | CardsCount`[get]`
Dictionary< UserComponent, bool > | TakenCards`[get]`
bool | Shuffle`[get, set]`
List< string > | Order`[get, set]`
UserComponentType | Type`[get]`
List< IUserComponentInstance > | Instances`[get]`
DateTime | Created`[get, set]`
bool | IsZipped`[get]`
Properties inherited from Machinations.UserComponents.IUserComponentSchema
IEnumerable< InnerInOut > | InnerInOuts`[get]`
Graph | Graph`[get, set]`
string | Name`[get, set]`
DateTime | Created`[get, set]`
int | UcId`[get, set]`
UserComponentType | Type`[get]`
bool | IsZipped`[get]`

## Events

Action | OnCardsChanged

## Constructor & Destructor Documentation

## ◆ Cards() [1/3]

Machinations.UserComponents.Cards.Cards | ( |  | ) |

## ◆ Cards() [2/3]

Machinations.UserComponents.Cards.Cards | ( | string | fileName | ) |

## ◆ Cards() [3/3]

Machinations.UserComponents.Cards.Cards | ( | XmlElement | element | ) |

## Member Function Documentation

## ◆ ApplyCardTake()

void Machinations.UserComponents.Cards.ApplyCardTake | ( |  | ) |

## ◆ CardChanged()

void Machinations.UserComponents.Cards.CardChanged | ( | bool | goingDeeper | ) |

rekne instancim,aby si vymenily karty. Instance jsou serazene podle toho, kam ukazuji, a je potreba, aby se při směru dolu zacinalo nejhlubsi instanci a pri smeru vzhuru instanci nahore

Parameters

  goingDeeper |

## ◆ ChooseActiveTemplate()

void Machinations.UserComponents.Cards.ChooseActiveTemplate | ( | string | name | ) |

## ◆ Clone()

IUserComponentSchema Machinations.UserComponents.Cards.Clone | ( |  | ) |

Implements Machinations.UserComponents.IUserComponentSchema.

## ◆ CreateCardTemplate()

string Machinations.UserComponents.Cards.CreateCardTemplate | ( | bool | choose | ) |

## ◆ CreateInOut()

InnerInOut Machinations.UserComponents.Cards.CreateInOut | ( | Point | position,
|  | bool? | input = `null`,
|  | int? | inOutNumber = `null`
| ) |  |

Implements Machinations.UserComponents.IUserComponentSchema.

## ◆ DeleteXmlTemplate()

void Machinations.UserComponents.Cards.DeleteXmlTemplate | ( |  | ) |

Implements Machinations.UserComponents.IUserComponentSchema.

## ◆ Dispose()

void Machinations.UserComponents.Cards.Dispose | ( |  | ) |

## ◆ GenerateCards()

void Machinations.UserComponents.Cards.GenerateCards | ( |  | ) |

## ◆ GenerateNewVersion()

void Machinations.UserComponents.Cards.GenerateNewVersion | ( |  | ) |

Implements Machinations.UserComponents.IUserComponentSchema.

## ◆ GenerateXmlTemplate()

XmlElement Machinations.UserComponents.Cards.GenerateXmlTemplate | ( | XmlDocument | document | ) |

Implements Machinations.UserComponents.IUserComponentSchema.

## ◆ GetCardInstance()

UserComponent Machinations.UserComponents.Cards.GetCardInstance | ( | int | currentCard | ) |

## ◆ GetInnerComponents()

IEnumerable<IUserComponentSchema> Machinations.UserComponents.Cards.GetInnerComponents | ( |  | ) |

Implements Machinations.UserComponents.IUserComponentSchema.

## ◆ GetInstance()

IUserComponentInstance Machinations.UserComponents.Cards.GetInstance | ( | int | instanceNumber | ) |

Implements Machinations.UserComponents.IUserComponentSchema.

## ◆ GetInstances()

IEnumerable<IUserComponentInstance> Machinations.UserComponents.Cards.GetInstances | ( |  | ) |

Implements Machinations.UserComponents.IUserComponentSchema.

## ◆ GetNewUcInstance()

IUserComponentInstance Machinations.UserComponents.Cards.GetNewUcInstance | ( | IUserComponentInstance | previousInstance = `null` | ) |

Implements Machinations.UserComponents.IUserComponentSchema.

## ◆ ReadXml()

void Machinations.UserComponents.Cards.ReadXml | ( | XmlElement | element | ) |

## ◆ RemoveCardTemplate()

void Machinations.UserComponents.Cards.RemoveCardTemplate | ( | string | name | ) |

## ◆ RemoveInOut()

void Machinations.UserComponents.Cards.RemoveInOut | ( | InnerInOut | inOut | ) |

Implements Machinations.UserComponents.IUserComponentSchema.

## ◆ SameSchema()

bool Machinations.UserComponents.Cards.SameSchema | ( | IUserComponentSchema | otherSchema | ) |

Implements Machinations.UserComponents.IUserComponentSchema.

## ◆ SaveToComponentsFolder()

void Machinations.UserComponents.Cards.SaveToComponentsFolder | ( |  | ) |

uklada sebe sama do samostatneho filu

Implements Machinations.UserComponents.IUserComponentSchema.

## ◆ TakeCard()

void Machinations.UserComponents.Cards.TakeCard | ( | UserComponent | card | ) |

## ◆ TrySetCurrentCardName()

bool Machinations.UserComponents.Cards.TrySetCurrentCardName | ( | string | value | ) |

## ◆ UnZip()

void Machinations.UserComponents.Cards.UnZip | ( |  | ) |

Implements Machinations.UserComponents.IUserComponentSchema.

## ◆ UpdateOuters()

void Machinations.UserComponents.Cards.UpdateOuters | ( |  | ) |

Implements Machinations.UserComponents.IUserComponentSchema.

## ◆ Zip()

void Machinations.UserComponents.Cards.Zip | ( |  | ) |

Implements Machinations.UserComponents.IUserComponentSchema.

## Property Documentation

## ◆ ActualTemplateNames

IEnumerable<string> Machinations.UserComponents.Cards.ActualTemplateNames

get

## ◆ CardsCount

int Machinations.UserComponents.Cards.CardsCount

get

## ◆ Created

DateTime Machinations.UserComponents.Cards.Created

get set

## ◆ CurrentCard

CardTemplate Machinations.UserComponents.Cards.CurrentCard

get

## ◆ FileName

string Machinations.UserComponents.Cards.FileName

get

## ◆ Graph

Graph Machinations.UserComponents.Cards.Graph

get set

## ◆ InnerInOuts

IEnumerable<InnerInOut> Machinations.UserComponents.Cards.InnerInOuts

get

## ◆ Instances

List<IUserComponentInstance> Machinations.UserComponents.Cards.Instances

get

## ◆ IsZipped

bool Machinations.UserComponents.Cards.IsZipped

get

## ◆ Name

string Machinations.UserComponents.Cards.Name

get set

## ◆ NameDate

string Machinations.UserComponents.Cards.NameDate

get

## ◆ Order

List<string> Machinations.UserComponents.Cards.Order

get set

## ◆ Shuffle

bool Machinations.UserComponents.Cards.Shuffle

get set

## ◆ TakenCards

Dictionary<UserComponent, bool> Machinations.UserComponents.Cards.TakenCards

get

## ◆ TemplateNames

List<string> Machinations.UserComponents.Cards.TemplateNames

get

## ◆ Type

UserComponentType Machinations.UserComponents.Cards.Type

get

## ◆ UcId

int Machinations.UserComponents.Cards.UcId

get set

## Event Documentation

## ◆ OnCardsChanged

Action Machinations.UserComponents.Cards.OnCardsChanged

The documentation for this class was generated from the following file:

- UserComponents/Cards.cs