protected override IParameterDicConverter setupParamDicConverter()
        {
            return(ParameterDicConverters.ConvertVMParameter(
                       AddVariable.FromGetter("{WindowManager}", (pms) => _evm.WindowManager),
                       AddVariable.FromGetter("{Events}", (pms) => _evm.InternalEvents),
                       AddVariable.FromGetter("{GlobalEvents}", (pms) => _evm.Events),
                       AddVariable.FromParameterPairs(
                           ParameterPair.FromVariable("{Explorer}", _evm),
                           ParameterPair.FromVariable("{DirectoryTree}", _evm.DirectoryTree),
                           ParameterPair.FromVariable("{FileList}", _evm.FileList),
                           ParameterPair.FromVariable("{Statusbar}", _evm.Statusbar)
                           )));


            //return ParameterDicConverters.ConvertVMParameter(
            //   new Tuple<string, object>("Explorer", _evm),
            //     new Tuple<string, object>("DirectoryTree", _evm.DirectoryTree),
            //     new Tuple<string, object>("FileList", _evm.FileList),
            //     new Tuple<string, object>("Statusbar", _evm.Statusbar),
            //     new Tuple<string, object>("WindowManager", _windowManager),
            //     new Tuple<string, object>("Events", _events),
            //     new Tuple<string, object>("GlobalEvents", _globalEvents)
            //    );
        }
示例#2
0
 protected override IParameterDicConverter setupParamDicConverter()
 {
     return(ParameterDicConverters.ConvertVMParameter(new Tuple <string, object>("TabbedExplorer", _tevm),
                                                      new Tuple <string, object>("Events", _events)));
 }
示例#3
0
 protected override IParameterDicConverter setupParamDicConverter()
 {
     return(ParameterDicConverters.ConvertVMParameter(new Tuple <string, object>("Sidebar", _svm)));
 }
 protected override IParameterDicConverter setupParamDicConverter()
 {
     return(ParameterDicConverters.ConvertVMParameter(new Tuple <string, object>("Navigation", _nvm)));
 }
示例#5
0
 protected override IParameterDicConverter setupParamDicConverter()
 {
     return(ParameterDicConverters.ConvertVMParameter(new Tuple <string, object>("Breadcrumb", _bvm)));
 }
示例#6
0
 protected override IParameterDicConverter setupParamDicConverter()
 {
     return(ParameterDicConverters.ConvertVMParameter(new Tuple <string, object>("DirectoryTree", _dlvm)));
 }
 protected override IParameterDicConverter setupParamDicConverter()
 {
     return(ParameterDicConverters.ConvertVMParameter(new Tuple <string, object>("FileList", _flvm)));
 }