static public void AddLinkInfo <REPRESENTATION_TYPE, VALUE_TYPE>(this RepresentationEngine item, string n, Process <REPRESENTATION_TYPE, VALUE_TYPE> a, Operation <VALUE_TYPE, REPRESENTATION_TYPE> r, Operation <bool, REPRESENTATION_TYPE> i) { item.AddLinkInfo <REPRESENTATION_TYPE>( new Variable_Operation <REPRESENTATION_TYPE, VALUE_TYPE>(n, a, r), i ); }
public CmlTargetInfo(object req, object t, IEnumerable <object> p, RepresentationEngine e) { requester = req; target = t; parents = p.ToList(); engine = e; }
static public void AddSimpleConstructor <T>(this RepresentationEngine item, Operation <T> o) { item.AddSimpleConstructor <T>(typeof(T).Name, o); }
static public void AddLinkInfo(this RepresentationEngine item, string n, Variable v) { item.AddInfo(new RepresentationInfo_Link(n, v)); }
static public void AddSimpleConstructor <T>(this RepresentationEngine item, string n, Operation <T> o) { item.AddConstructor(new RepresentationConstructor_Operation <T>(n, o)); }
public CmlTargetInfo(object req, object t, object p, RepresentationEngine e) : this(req, t, new object[] { p }, e) { }
static public RepresentationInfoSet_SelectableChildren AddSelectableDynamicChildrenInfo(this RepresentationEngine item, string n, EffigyInfo_Collection e) { return(item.AddAndGetInfoSet(new RepresentationInfoSet_SelectableChildren(n, e))); }
static public void AddFunctionHookInfo(this RepresentationEngine item, Hook h) { item.AddFunctionHookInfo(h.GetHookName(), h); }
static public void AddFunctionInfo <REPRESENTATION_TYPE, DELEGATE_TYPE>(this RepresentationEngine item, string n, Process <REPRESENTATION_TYPE, DELEGATE_TYPE> a) { item.AddFunctionHookInfo(n, new Hook_Operation <REPRESENTATION_TYPE, DELEGATE_TYPE>(n, a, null) ); }
static public T AddAndGetInfoSet <T>(this RepresentationEngine item, T info) where T : RepresentationInfoSet { item.AddInfoSet(info); return(info); }
static public void AddStaticChildrenInfo(this RepresentationEngine item, string n, StaticEffigyInfo effigy) { item.AddInfo(new RepresentationInfo_StaticChildren(n, effigy)); }
static public void AddLinkInfo <REPRESENTATION_TYPE>(this RepresentationEngine item, string n, Variable v, Operation <bool, REPRESENTATION_TYPE> i) { item.AddLinkInfo(n, new Variable_Blockable <REPRESENTATION_TYPE>(v, i)); }
static public void AddLinkInfo <REPRESENTATION_TYPE>(this RepresentationEngine item, Variable v, Operation <bool, REPRESENTATION_TYPE> i) { item.AddLinkInfo <REPRESENTATION_TYPE>(v.GetVariableName(), v, i); }
static public void AddLinkInfos <REPRESENTATION_TYPE>(this RepresentationEngine item, params string[] nps) { item.AddLinkInfos <REPRESENTATION_TYPE>((IEnumerable <string>)nps); }
static public void AddLinkInfos <REPRESENTATION_TYPE>(this RepresentationEngine item, IEnumerable <string> nps) { nps.Process(np => item.AddLinkInfo <REPRESENTATION_TYPE>(np)); }
static public void AddLinkInfo <REPRESENTATION_TYPE>(this RepresentationEngine item, string np) { item.AddLinkInfo <REPRESENTATION_TYPE>(np, np); }
static public void AddLinkInfo <REPRESENTATION_TYPE>(this RepresentationEngine item, string n, string p) { item.AddLinkInfo(n, typeof(REPRESENTATION_TYPE).GetVariableByPath(p)); }
static public void AddLinkInfo(this RepresentationEngine item, Variable v) { item.AddLinkInfo(v.GetVariableName(), v); }
static public void AddFunctionInfo <REPRESENTATION_TYPE>(this RepresentationEngine item, string n, Process <REPRESENTATION_TYPE, FunctionSyncro> p) { item.AddInfo(new RepresentationInfo_Function_Process <REPRESENTATION_TYPE>(n, p)); }
static public void AddLinkInfo <REPRESENTATION_TYPE, VALUE_TYPE>(this RepresentationEngine item, string n, Process <REPRESENTATION_TYPE, VALUE_TYPE> a) { item.AddLinkInfo(new Variable_Operation <REPRESENTATION_TYPE, VALUE_TYPE>(n, a, null)); }
static public void AddFunctionHookInfo(this RepresentationEngine item, string n, Hook h) { item.AddInfo(new RepresentationInfo_FunctionHook(n, h)); }
static public void AddDynamicChildrenInfo <REPRESENTATION_TYPE, CHILD_TYPE>(this RepresentationEngine item, string n, Process <REPRESENTATION_TYPE, IEnumerable <CHILD_TYPE> > sp) { item.AddDynamicChildrenInfo(n, new EffigyInfo_Collection_Flush_Process <REPRESENTATION_TYPE, CHILD_TYPE>(sp) ); }
static public void AddFunctionHookInfo <REPRESENTATION_TYPE>(this RepresentationEngine item, string n, string p) { item.AddFunctionHookInfo(n, typeof(REPRESENTATION_TYPE).GetHookByPath(p)); }
static public void AddDynamicChildrenInfo <REPRESENTATION_TYPE, CHILD_TYPE>(this RepresentationEngine item, Process <REPRESENTATION_TYPE, IEnumerable <CHILD_TYPE> > sp) { item.AddDynamicChildrenInfo <REPRESENTATION_TYPE, CHILD_TYPE>(RepresentationInfo.UnamedChildren, sp); }
static public RepresentationInfoSet_SelectableChildren AddSelectableDynamicChildrenInfo <REPRESENTATION_TYPE, CHILD_TYPE>(this RepresentationEngine item, string n, Process <REPRESENTATION_TYPE, IEnumerable <CHILD_TYPE> > sp) { return(item.AddSelectableDynamicChildrenInfo(n, new EffigyInfo_Collection_Flush_Process <REPRESENTATION_TYPE, CHILD_TYPE>(sp) )); }
static public RepresentationInfoSet_SelectableChildren AddSelectableDynamicChildrenInfo <REPRESENTATION_TYPE, CHILD_TYPE>(this RepresentationEngine item, Process <REPRESENTATION_TYPE, IEnumerable <CHILD_TYPE> > sp) { return(item.AddSelectableDynamicChildrenInfo <REPRESENTATION_TYPE, CHILD_TYPE>(RepresentationInfo.UnamedChildren, sp)); }
public CmlTargetInfo(object t, RepresentationEngine e) : this(t, t, Empty.IEnumerable <object>(), e) { }
static public void AddVariationInstancer <REPRESENTATION_TYPE>(this RepresentationEngine item, string t, string b, Process <REPRESENTATION_TYPE> p) { item.AddInstancer( new RepresentationInstancer_Variation_Process <REPRESENTATION_TYPE>(t, b, p) ); }
static public RepresentationInfoSet_SelectableChildren AddSelectableDynamicChildrenInfo(this RepresentationEngine item, EffigyInfo_Collection e) { return(item.AddSelectableDynamicChildrenInfo(RepresentationInfo.UnamedChildren, e)); }
static public RepresentationResult AssertCreateRepresentation(this RepresentationEngine item, object target, string layout = CmlLinkSource.DEFAULT_LAYOUT) { return(item.GetClassLibrary().AssertGetClass(target.GetTypeEX(), layout) .IfNotNull(c => c.CreateResults(new CmlContext_Base(new CmlTargetInfo(target, item))))); }