本文整理汇总了C#中IViewModelDependencies类的典型用法代码示例。如果您正苦于以下问题:C# IViewModelDependencies类的具体用法?C# IViewModelDependencies怎么用?C# IViewModelDependencies使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IViewModelDependencies类属于命名空间,在下文中一共展示了IViewModelDependencies类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ObjectClassViewModel
public ObjectClassViewModel(IViewModelDependencies appCtx,
IZetboxContext dataCtx, ViewModel parent, ObjectClass cls)
: base(appCtx, dataCtx, parent, cls)
{
_cls = cls;
cls.PropertyChanged += ModulePropertyChanged;
}
示例2: ImportedFileNavigationSearchScreenViewModel
public ImportedFileNavigationSearchScreenViewModel(IViewModelDependencies appCtx, Func<IZetboxContext> ctxFactory,
IZetboxContext dataCtx, ViewModel parent, NavigationScreen screen)
: base(appCtx, dataCtx, ctxFactory, parent, screen)
{
_ctxFactory = ctxFactory;
base.Type = typeof(ImportedFile).GetObjectClass(FrozenContext);
}
示例3: SystemTypeViewModel
public SystemTypeViewModel(
IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent,
Type type)
: base(appCtx, dataCtx, parent)
{
_type = type;
}
示例4: ObjectClassViewModel
public ObjectClassViewModel(
IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent,
ObjectClass cls)
: base(appCtx, dataCtx, parent, cls)
{
_class = cls;
}
示例5: DataTypeViewModel
public DataTypeViewModel(
IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent,
DataType dt)
: base(appCtx, dataCtx, parent, dt)
{
_dataType = dt;
}
示例6: LabeledViewContainerViewModel
public LabeledViewContainerViewModel(IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, string label, string toolTip, ViewModel mdl)
: base(dependencies, dataCtx, parent)
{
this._Label = label;
this._ToolTip = toolTip;
this.Model = mdl;
}
示例7: ModuleViewModel
public ModuleViewModel(IViewModelDependencies appCtx,
IZetboxContext dataCtx, ViewModel parent, Module mdl)
: base(appCtx, dataCtx, parent, mdl)
{
_module = mdl;
_module.PropertyChanged += ModulePropertyChanged;
}
示例8: PropertiesPrewiewViewModel
public PropertiesPrewiewViewModel(IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent, DataType dt)
: base(appCtx, dataCtx, parent)
{
if (dt == null) throw new ArgumentNullException("dt");
_dataType = dt;
_dataType.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(_dataType_PropertyChanged);
}
示例9: FileViewModel
public FileViewModel(
IViewModelDependencies appCtx, ZetboxConfig config, IZetboxContext dataCtx, ViewModel parent,
File obj)
: base(appCtx, dataCtx, parent, obj)
{
this.File = obj;
}
示例10: DataTypeGraphModel
public DataTypeGraphModel(IViewModelDependencies appCtx, IZetboxContext dataCtx, DiagramViewModel parent,
DataType obj)
: base(appCtx, dataCtx, parent, obj)
{
this._diagMdl = parent;
this.DataType = obj;
}
示例11: MultiplePropertyGroupViewModel
public MultiplePropertyGroupViewModel(
IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent,
string title,
IEnumerable<ViewModel> obj)
: base(appCtx, dataCtx, parent, title, obj)
{
}
示例12: AssemblyViewModel
public AssemblyViewModel(
IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent,
Assembly obj)
: base(appCtx, dataCtx, parent, obj)
{
_assembly = obj;
}
示例13: CustomPropertyListGroupViewModel
public CustomPropertyListGroupViewModel(
IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent,
string tagName,
string title,
IEnumerable<ViewModel> lst)
: base(appCtx, dataCtx, parent, tagName, title, lst)
{
}
示例14: SimpleDataObjectEditorTaskViewModel
public SimpleDataObjectEditorTaskViewModel(
IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent,
ViewModel obj)
: base(appCtx, dataCtx, parent)
{
if (obj == null) throw new ArgumentNullException("obj");
this.Object = obj;
}
示例15: NavigationEntryViewModel
public NavigationEntryViewModel(IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, NavigationEntry screen)
: base(dependencies, dataCtx, parent, screen)
{
if (screen == null) throw new ArgumentNullException("screen");
_screen = screen;
_screen.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(_screen_PropertyChanged);
}