public RunTimeView(IEnterInterpreterHost pEnterClientInterface, Epi.View pView, int pParentRecordId, string pParentGlobalRecordId, IScope pScope = null) { // to do set the enter interpreter // application domain. Assembly a = Assembly.Load(pView.Project.EnterMakeviewIntepreter); // Get the type to use. Type myType = a.GetType(pView.Project.EnterMakeviewIntepreter + ".EpiInterpreterParser"); // Create an instance. if (pScope == null) { this.mEpiInterpreter = (IEnterInterpreter)Activator.CreateInstance(myType, new object[] { pEnterClientInterface }); } else { this.mEpiInterpreter = (IEnterInterpreter)Activator.CreateInstance(myType, new object[] { pEnterClientInterface, pScope }); } this.mEpiInterpreter.Context.Scope.Name = pView.Name; this.mEpiInterpreter.Host = pEnterClientInterface; this.EnterClientInterface = pEnterClientInterface; this.AfterStack = new Stack<KeyValuePair<EventActionEnum, StackCommand>>(); this.parentViewRecordId = pParentRecordId; this.parentViewGlobalRecordId = pParentGlobalRecordId; this.RecordNumberMap = new Dictionary<int, int>(); this.mView = pView; this.mView.ForeignKeyField.CurrentRecordValueString = this.ParentGlobalRecordId; }
public RunTimeView(IEnterInterpreterHost pEnterClientInterface, Epi.View pView, int pParentRecordId, string pParentGlobalRecordId, IScope pScope = null) { // to do set the enter interpreter // application domain. Assembly a = Assembly.Load(pView.Project.EnterMakeviewIntepreter); // Get the type to use. Type myType = a.GetType(pView.Project.EnterMakeviewIntepreter + ".EpiInterpreterParser"); // Create an instance. if (pScope == null) { this.mEpiInterpreter = (IEnterInterpreter)Activator.CreateInstance(myType, new object[] { pEnterClientInterface }); } else { this.mEpiInterpreter = (IEnterInterpreter)Activator.CreateInstance(myType, new object[] { pEnterClientInterface, pScope }); } this.mEpiInterpreter.Context.Scope.Name = pView.Name; this.mEpiInterpreter.Host = pEnterClientInterface; this.EnterClientInterface = pEnterClientInterface; this.AfterStack = new Stack <KeyValuePair <EventActionEnum, StackCommand> >(); this.parentViewRecordId = pParentRecordId; this.parentViewGlobalRecordId = pParentGlobalRecordId; this.RecordNumberMap = new Dictionary <int, int>(); this.mView = pView; this.mView.ForeignKeyField.CurrentRecordValueString = this.ParentGlobalRecordId; }
public EpiInterpreterParser(IEnterInterpreterHost pEnterCheckCodeInterface) { Stream stream = EpiInterpreterParser.GetEnterCompiledGrammarTable(); Init(stream); pEnterCheckCodeInterface.Register(this); this.EnterCheckCodeInterface = pEnterCheckCodeInterface; }
public EpiInterpreterParser(string filename, IEnterInterpreterHost pEnterCheckCodeInterface) { this.EnterCheckCodeInterface = pEnterCheckCodeInterface; FileStream stream = new FileStream(filename, FileMode.Open, FileAccess.Read, FileShare.Read); Init(stream); stream.Close(); }
public EpiInterpreterParser(string filename, IEnterInterpreterHost pEnterCheckCodeInterface) { this.EnterCheckCodeInterface = pEnterCheckCodeInterface; FileStream stream = new FileStream(filename, FileMode.Open, FileAccess.Read, FileShare.Read); Init(stream); stream.Close(); }
public RunTimeView(IEnterInterpreterHost pEnterClientInterface, Epi.View pView) { // to do set the enter interpreter // application domain. Assembly a = Assembly.Load(pView.Project.EnterMakeviewIntepreter); // Get the type to use. Type myType = a.GetType(pView.Project.EnterMakeviewIntepreter + ".EpiInterpreterParser"); // Create an instance. this.mEpiInterpreter = (IEnterInterpreter)Activator.CreateInstance(myType, new object[] { pEnterClientInterface }); this.mEpiInterpreter.Host = pEnterClientInterface; //this.mEpiInterpreter = new EpiInterpreterParser(Epi.Resources.ResourceLoader.GetEnterCompiledGrammarTable(), pEnterClientInterface, Rule_Context.eRunMode.Enter); this.EnterClientInterface = pEnterClientInterface; this.AfterStack = new Stack<KeyValuePair<EventActionEnum, StackCommand>>(); this.RecordNumberMap = new Dictionary<int, int>(); this.mView = pView; }
public RunTimeView(IEnterInterpreterHost pEnterClientInterface, Epi.View pView) { // to do set the enter interpreter // application domain. Assembly a = Assembly.Load(pView.Project.EnterMakeviewIntepreter); // Get the type to use. Type myType = a.GetType(pView.Project.EnterMakeviewIntepreter + ".EpiInterpreterParser"); // Create an instance. this.mEpiInterpreter = (IEnterInterpreter)Activator.CreateInstance(myType, new object[] { pEnterClientInterface }); this.mEpiInterpreter.Host = pEnterClientInterface; //this.mEpiInterpreter = new EpiInterpreterParser(Epi.Resources.ResourceLoader.GetEnterCompiledGrammarTable(), pEnterClientInterface, Rule_Context.eRunMode.Enter); this.EnterClientInterface = pEnterClientInterface; this.AfterStack = new Stack <KeyValuePair <EventActionEnum, StackCommand> >(); this.RecordNumberMap = new Dictionary <int, int>(); this.mView = pView; }
public OpenViewEventArgs(IEnterInterpreterHost pEnterCheckCodeInterface, int pViewId) { mEnterCheckCodeInterface = pEnterCheckCodeInterface; mViewId = pViewId; }
public EpiInterpreterParser(IEnterInterpreterHost pEnterCheckCodeInterface) { Stream stream = EpiInterpreterParser.GetEnterCompiledGrammarTable(); Init(stream); pEnterCheckCodeInterface.Register(this); this.EnterCheckCodeInterface = pEnterCheckCodeInterface; }
public OpenViewEventArgs(IEnterInterpreterHost pEnterCheckCodeInterface, int pViewId) { mEnterCheckCodeInterface = pEnterCheckCodeInterface; mViewId = pViewId; }