/// <summary> /// Process Set Common Data From current CurrRootElem with MethodToProcess with optional MethodToPreProcess (or CurrRootElem), MethodToCheckOnInit and StopIfNull (to check for nulls) /// </summary> public static T _s <C, T>(this C CurrRootElem, fr <C, T> MethodToProcess, fr <C> MethodToPreProcess = null, f <C, bool> MethodToCheckOnInit = null, T DefaultValue = default(T), bool StopIfNull = true) { if (MethodToProcess == null || CurrRootElem == null) { return(DefaultValue); } var e = CurrRootElem; if (MethodToCheckOnInit != null && !MethodToCheckOnInit(e)) { return(DefaultValue); } if (MethodToPreProcess != null) { MethodToPreProcess(ref e); } if (StopIfNull && e == null) { return(DefaultValue); } var r = MethodToProcess(ref e); if (StopIfNull && r == null) { return(DefaultValue); } return(r); }
private void cartaoDeVacinaToolStripMenuItem_Click(object sender, EventArgs e) { var cartaoVacina = new fr(); cartaoVacina.MdiParent = this; cartaoVacina.WindowState = FormWindowState.Maximized; cartaoVacina.Show(); }
public void b() { GC.SuppressFinalize(this); this.a(); this.az.Clear(); this.n = null; this.ag = null; this.au = null; this.at = null; this.@as = null; this.ar = null; this.aq = null; this.ap = null; this.ao = null; this.an = null; this.am = null; this.al = null; this.ak = null; this.aj = null; this.ai = null; this.ah = null; this.af = null; this.ae = null; this.ad = null; this.ac = null; this.ab = null; this.aa = null; this.z = null; this.y = null; this.x = null; this.w = null; this.v = null; this.u = null; this.t = null; this.s = null; this.r = null; this.q = null; this.p = null; this.c = null; this.av = null; this.o = null; this.m = null; this.l = null; this.k = null; this.j = null; this.i = null; this.h = null; this.g = null; this.f = null; this.e = null; this.d = null; this.b = null; this.a = null; this.aw = null; this.ax = null; this.ay = null; }
/// <summary> /// Process Get with chaining (return CurrRootElem) Common Data From current CurrRootElem with MethodToProcess with optional MethodToPreProcess (or CurrRootElem), MethodToCheckOnInit and StopIfNull (to check for nulls) /// </summary> public static C _gc <C>(this C CurrRootElem, v <C> MethodToProcess, fr <C> MethodToPreProcess = null, f <C, bool> MethodToCheckOnInit = null, bool StopIfNull = true) { if (MethodToProcess == null || CurrRootElem == null) { return(CurrRootElem); } CurrRootElem._g(c => { MethodToProcess(c); return(true); }, MethodToPreProcess, MethodToCheckOnInit, false, StopIfNull); return(CurrRootElem); }
public void forceRepaint() { if (this.InvokeRequired) { fr a; a = new fr(forceRepaint); this.Invoke(a); } else { this.Invalidate(); this.Update(); this.Refresh(); } }
/// <summary> /// Add Element with Common Data with chaining (return CurrRootElem) to current CurrRootElem with ElementName and MethodToProcess and optional SubElementPath (or CurrRootElem) /// </summary> public static XElement Sd(this XElement CurrRootElem, string ElementName, f <IDictionary <string, object> > MethodToProcess, string SubElementPath = null, fr <XElement> MethodToPostProcessElement = null) { if (CurrRootElem == null) { return(null); } return(CurrRootElem.S(ElementName, () => { var x = MethodToProcess(); if (x == null) { return null; } return x.S(e => new XAttribute(e.Key, e.Value ?? "")); }, SubElementPath, MethodToPostProcessElement)); }
/// <summary> /// Add Element with Attributes Data with chaining (return CurrRootElem) to current CurrRootElem with ElementName and optional SubElementPath (or CurrRootElem) and TheseAttributesOnly (or all) /// </summary> public static XElement S(this XElement CurrRootElem, string ElementName, string SubElementPath = null, IDictionary <string, object> Attributes = null, fr <XElement> MethodToPostProcessElement = null) { if (CurrRootElem == null) { return(null); } return(CurrRootElem.S(ElementName, () => { return Attributes.Select(e => (object)(new XAttribute(e.Key, e.Value))); }, SubElementPath, MethodToPostProcessElement)); }
/// <summary> /// Add Element with Common Data with chaining (return CurrRootElem) to current CurrRootElem with ElementName and MethodToProcess and optional SubElementPath (or CurrRootElem) /// </summary> public static XElement S(this XElement CurrRootElem, string ElementName, f <IEnumerable <object> > MethodToProcess, string SubElementPath = null, fr <XElement> MethodToPostProcessElement = null) { if (CurrRootElem == null) { return(null); } var s = SubElementPath.C(); return(CurrRootElem._gc(r => { var x = MethodToProcess(); if (x != null) { var d = new XElement(ElementName, x.ToArray()); if (MethodToPostProcessElement != null) { MethodToPostProcessElement(ref d); } if (s) { CurrRootElem.Element(SubElementPath).Add(d); } else { CurrRootElem.Add(d); } } }, (ref XElement i) => { if (s) { i = CurrRootElem.Element(SubElementPath); if (i == null) { i = new XElement(SubElementPath); CurrRootElem.Add(i); } } })); }
public ev(CoreManager A_0, PluginHost A_1, PluginCore A_2) { this.aw = A_0; this.ax = A_1; this.ay = A_2; this.a = new b2(this.ay); this.az.Add(this.a); this.b = new j(); this.az.Add(this.b); this.d = new aj(); this.az.Add(this.d); this.e = new cd((FileService)this.aw.get_FileService(), this); this.az.Add(this.e); this.f = new d6(); this.az.Add(this.f); this.g = new dv(this); this.az.Add(this.g); this.z = new s(this.aw); this.az.Add(this.z); this.h = new cs(this); this.az.Add(this.h); this.i = new dg(this); this.az.Add(this.i); this.j = new dl(this); this.az.Add(this.j); this.k = new eo(this); this.az.Add(this.k); this.l = new bh(); this.az.Add(this.l); this.m = new fq(); this.az.Add(this.m); this.o = new bw(); this.az.Add(this.o); this.c = new cLogic(this.g, this.ay, this.z); this.az.Add(this.c); this.p = new cj(new cj.a(ad.a), A_1.get_Actions()); this.az.Add(this.p); this.q = new b5(this.aw, this.ay); this.az.Add(this.q); this.r = new cz(this.ay, this.aw, this.ax, this.p); this.az.Add(this.r); this.s = new ag(); this.az.Add(this.s); this.t = new fc(this.aw, this.ay); this.az.Add(this.t); this.u = new b0(this.aw, this.ay, this.p); this.az.Add(this.u); this.v = new el(this.aw); this.az.Add(this.v); this.w = new bd(); this.az.Add(this.w); this.x = new bv(this.aw); this.az.Add(this.x); this.y = new a7(this.aw); this.az.Add(this.y); this.n = new fn(this.aw, this.p); this.az.Add(this.n); this.aa = new d0(this.aw); this.az.Add(this.aa); this.ab = new da(this.p, this.ay); this.az.Add(this.ab); this.ac = new bj(); this.az.Add(this.ac); this.ad = new fs(); this.az.Add(this.ad); this.ae = new b9(); this.az.Add(this.ae); this.af = new en(); this.az.Add(this.af); this.ah = new e0(); this.az.Add(this.ah); this.ai = new ar(); this.az.Add(this.ai); this.aj = new y(this.ai); this.az.Add(this.aj); this.ak = new cRechargeManager(); this.az.Add(this.ak); this.al = new q(); this.az.Add(this.al); this.am = new fr(); this.az.Add(this.am); this.an = new ei(this.g, this.p); this.az.Add(this.an); this.ao = new ca(this.x, this.an); this.az.Add(this.ao); this.ap = new cr(this.ay); this.az.Add(this.ap); this.aq = new bp(); this.az.Add(this.aq); this.ar = new ay(this.p); this.az.Add(this.ar); this.@as = new h(); this.az.Add(this.@as); this.at = new du(); this.az.Add(this.at); this.au = new ac(); this.az.Add(this.au); this.ag = new cc(); this.az.Add(this.ag); }
select new Cube(fr, to, line.StartsWith("on"))) .ToList();
/// <summary> /// Process Get List of Common Data with chaining (return CurrRootElem) From current CurrRootElem with MethodToProcess with optional MethodToPreProcess (or CurrRootElem), MethodToCheckOnInit and StopIfNull (to check for nulls) /// </summary> public static C _gc <C, D>(this C CurrRootElem, f <C, IEnumerable <D> > MethodToGetData, v <D> MethodToProcess, fr <C> MethodToPreProcess = null, f <C, bool> MethodToCheckOnInit = null, bool StopIfNull = true) { if (MethodToProcess == null || CurrRootElem == null) { return(CurrRootElem); } CurrRootElem._g(MethodToGetData, c => { MethodToProcess(c); return(true); }, MethodToPreProcess, MethodToCheckOnInit, false, null, StopIfNull); return(CurrRootElem); }
/// <summary> /// Process Get List of Common Data From current CurrRootElem with MethodToProcess with optional MethodToPreProcess (or CurrRootElem), MethodToCheckOnInit and StopIfNull (to check for nulls) /// </summary> public static IEnumerable <T> _g <C, D, T>(this C CurrRootElem, f <C, IEnumerable <D> > MethodToGetData, f <D, T> MethodToProcess, fr <C> MethodToPreProcess = null, f <C, bool> MethodToCheckOnInit = null, T DefaultValue = default(T), IEnumerable <T> DefaultResult = null, bool StopIfNull = true) { if (MethodToGetData == null || CurrRootElem == null || MethodToProcess == null) { return(DefaultResult); } return(CurrRootElem._g(c => { var d = MethodToGetData(c); if (StopIfNull && !d.C()) { return DefaultResult; } var r = d.G((i, ct) => MethodToProcess(i.Value)); if (StopIfNull && !r.C()) { return DefaultResult; } return r; }, MethodToPreProcess, MethodToCheckOnInit, DefaultResult, StopIfNull)); }