public void OnActive() { var readedAssemblyName = childOp.Value as string; globalDataList.PreLoadOperations.Add(new GatherAssembly(globalDataList, readedAssemblyName)); childOp = null; }
public Action DealChar(char c) { switch (c) { case ' ': case '\n': case '\r': break; case '}': parent?.OnActive(); return(parent); case '(': getParamListOp = new GetValueListAction(')', this); return(getParamListOp); case '[': getXFactoryMethodIndexOp = new GetValueListAction(']', this); return(getXFactoryMethodIndexOp); case '{': getStaticInstanceOp = new GetValueListAction('}', this); return(getStaticInstanceOp); default: getTypeIndexOp = new GetValueAction(c, this); return(getTypeIndexOp); } return(this); }
public Action DealChar(char c) { if (c == sign) { parent?.OnActive(); return(parent); } if ('\"' != sign) { switch (c) { case ' ': case '\n': case '\r': return(this); case '(': childOp = new GetValueListAction(')', this); return(childOp); default: childOp = new GetValueAction(c, this); return(childOp); } } return(this); }
public Action DealChar(char c) { switch (c) { case ' ': case '\n': case '\r': break; case '\"': childOp = new GetValueAction(c, this); return(childOp); case '>': parent?.OnActive(); return(parent); } return(this); }
public Action DealChar(char c) { switch (c) { case ' ': case '\n': case '\r': break; case '}': parent?.OnActive(); return(parent); case '(': getParamListOp = new GetValueListAction(')', this); return(getParamListOp); default: getTypeIndexOp = new GetValueAction(c, this); return(getTypeIndexOp); } return(this); }
public void Init() { childOp = null; }