private Jevy GetJevy(string strLanguage, string strStyleID, string strStyleUIName, TypJevu tpTyp) { string sID = Jevy.GetID(strLanguage, strStyleID); Jevy jvs; if (!_aktualniSkupinaJevu.ContainsID(sID)) { jvs = new Jevy(tpTyp, _souborDocx, strLanguage, strStyleID); jvs.Popis = strStyleUIName; _aktualniSkupinaJevu.Add(jvs); ConsoleColor color = Console.BackgroundColor; Console.BackgroundColor = ConsoleColor.Yellow; Console.WriteLine("Vytvořena nová skupina jevů {0}, {1}, {2}", jvs.Popis, jvs.Jazyk, strStyleID); Console.BackgroundColor = color; } return(_aktualniSkupinaJevu[sID]); }
private static Jevy GetJevy(SkupinaJevu skupina, string souborDocx, string strLanguage, string styleId, string styleUiName, TypJevu typJevu) { string sId = Jevy.GetID(strLanguage, styleId); if (!skupina.ContainsID(sId)) { var jvs = new Jevy(typJevu, souborDocx, strLanguage, styleId, styleUiName); skupina.Add(jvs); } return(skupina[sId]); }
public Jevy(TypJevu tpDruh, Zdroj zdZdroj) { Druh = tpDruh; Zdroj = zdZdroj; }
public Jevy(TypJevu tpDruh) { Druh = tpDruh; }
public Jevy(TypJevu tpDruh, string strCestaKeZdroji, string strJazyk, string strIdentifikator, string popis) : this(tpDruh, strCestaKeZdroji, strJazyk, strIdentifikator) { Popis = popis; }
public Jevy(TypJevu tpDruh, string strCestaKeZdroji, string strJazyk, string strIdentifikator) : this(strCestaKeZdroji, strJazyk, strIdentifikator) { Druh = tpDruh; }
public Jevy(TypJevu tpDruh, string strCestaKeZdroji) : this(strCestaKeZdroji) { Druh = tpDruh; }