Beispiel #1
0
 protected internal CommandContext(DataFramework dataFramework, CommandFramework commandFramework, string commandUnique, string commandParameters, DataEntityContainer dataParameter = null)
 {
     this.dataFramework     = dataFramework;
     this.commandFramework  = commandFramework;
     this.commandParameters = commandParameters;
     if (dataParameter != null)
     {
         dataParameters.Add(dataParameter);
     }
     //Lazy<ICommand, IDictionary<string, object>> foundPlugin = commandFramework.FindPlugin(commandUnique);
     foundCommand = commandFramework.FindCommand(commandUnique);
     //foundCommand = foundPlugin.Value;
 }
Beispiel #2
0
        //public readonly UnityContainer serviceUnityContainer = new UnityContainer();

        public CommandFramework(ContainerFramework containerFramework, DataFramework dataFramework)
        {
            this.containerFramework = containerFramework;
            this.dataFramework      = dataFramework;
        }