本文整理汇总了C#中IViewModelDependencies类的典型用法代码示例。如果您正苦于以下问题:C# IViewModelDependencies类的具体用法?C# IViewModelDependencies怎么用?C# IViewModelDependencies使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IViewModelDependencies类属于命名空间,在下文中一共展示了IViewModelDependencies类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: ObjectClassViewModel
public ObjectClassViewModel(IViewModelDependencies appCtx,
IZetboxContext dataCtx, ViewModel parent, ObjectClass cls)
: base(appCtx, dataCtx, parent, cls)
{
_cls = cls;
cls.PropertyChanged += ModulePropertyChanged;
}
开发者ID:daszat,项目名称:zetbox,代码行数:7,代码来源:ObjectClassViewModel.cs
示例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);
}
开发者ID:jrgcubano,项目名称:zetbox,代码行数:7,代码来源:ImportedFileNavigationSearchScreenViewModel.cs
示例3: SystemTypeViewModel
public SystemTypeViewModel(
IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent,
Type type)
: base(appCtx, dataCtx, parent)
{
_type = type;
}
开发者ID:jrgcubano,项目名称:zetbox,代码行数:7,代码来源:SystemTypeViewModel.cs
示例4: ObjectClassViewModel
public ObjectClassViewModel(
IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent,
ObjectClass cls)
: base(appCtx, dataCtx, parent, cls)
{
_class = cls;
}
开发者ID:daszat,项目名称:zetbox,代码行数:7,代码来源:ObjectClassViewModel.cs
示例5: DataTypeViewModel
public DataTypeViewModel(
IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent,
DataType dt)
: base(appCtx, dataCtx, parent, dt)
{
_dataType = dt;
}
开发者ID:daszat,项目名称:zetbox,代码行数:7,代码来源:DataTypeViewModel.cs
示例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;
}
开发者ID:daszat,项目名称:zetbox,代码行数:7,代码来源:ILabeledViewModel.cs
示例7: ModuleViewModel
public ModuleViewModel(IViewModelDependencies appCtx,
IZetboxContext dataCtx, ViewModel parent, Module mdl)
: base(appCtx, dataCtx, parent, mdl)
{
_module = mdl;
_module.PropertyChanged += ModulePropertyChanged;
}
开发者ID:daszat,项目名称:zetbox,代码行数:7,代码来源:ModuleViewModel.cs
示例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);
}
开发者ID:daszat,项目名称:zetbox,代码行数:7,代码来源:PropertiesPrewiewViewModel.cs
示例9: FileViewModel
public FileViewModel(
IViewModelDependencies appCtx, ZetboxConfig config, IZetboxContext dataCtx, ViewModel parent,
File obj)
: base(appCtx, dataCtx, parent, obj)
{
this.File = obj;
}
开发者ID:jrgcubano,项目名称:zetbox,代码行数:7,代码来源:FileViewModel.cs
示例10: DataTypeGraphModel
public DataTypeGraphModel(IViewModelDependencies appCtx, IZetboxContext dataCtx, DiagramViewModel parent,
DataType obj)
: base(appCtx, dataCtx, parent, obj)
{
this._diagMdl = parent;
this.DataType = obj;
}
开发者ID:daszat,项目名称:zetbox,代码行数:7,代码来源:DataTypeViewModels.cs
示例11: MultiplePropertyGroupViewModel
public MultiplePropertyGroupViewModel(
IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent,
string title,
IEnumerable<ViewModel> obj)
: base(appCtx, dataCtx, parent, title, obj)
{
}
开发者ID:jrgcubano,项目名称:zetbox,代码行数:7,代码来源:PropertyGroupViewModel.cs
示例12: AssemblyViewModel
public AssemblyViewModel(
IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent,
Assembly obj)
: base(appCtx, dataCtx, parent, obj)
{
_assembly = obj;
}
开发者ID:jrgcubano,项目名称:zetbox,代码行数:7,代码来源:AssemblyViewModel.cs
示例13: CustomPropertyListGroupViewModel
public CustomPropertyListGroupViewModel(
IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent,
string tagName,
string title,
IEnumerable<ViewModel> lst)
: base(appCtx, dataCtx, parent, tagName, title, lst)
{
}
开发者ID:daszat,项目名称:zetbox,代码行数:8,代码来源:PropertyGroupViewModel.cs
示例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;
}
开发者ID:daszat,项目名称:zetbox,代码行数:8,代码来源:SimpleDataObjectEditorTaskViewModel.cs
示例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);
}
开发者ID:daszat,项目名称:zetbox,代码行数:8,代码来源:NavigationEntryViewModel.cs
示例16: FilterListViewModel
public FilterListViewModel(IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent, ObjectClass type, IFulltextSupport fulltextSupport = null)
: base(appCtx, dataCtx, parent)
{
if (type == null) throw new ArgumentNullException("type");
_type = type;
_fulltextSupport = fulltextSupport;
}
开发者ID:daszat,项目名称:zetbox,代码行数:8,代码来源:FilterListViewModel.cs
示例17: RelationViewModel
public RelationViewModel(
IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent,
Relation rel)
: base(appCtx, dataCtx, parent, rel)
{
_relation = rel;
_relation.PropertyChanged += (sender, args) => OnPropertyChanged(args.PropertyName);
}
开发者ID:jrgcubano,项目名称:zetbox,代码行数:8,代码来源:RelationViewModel.cs
示例18: CompoundObjectViewModel
public CompoundObjectViewModel(
IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent,
ICompoundObject obj)
: base(appCtx, dataCtx, parent)
{
_object = obj;
_object.PropertyChanged += ObjectPropertyChanged;
}
开发者ID:jrgcubano,项目名称:zetbox,代码行数:8,代码来源:CompoundObjectViewModel.cs
示例19: RoleMembershipViewModel
public RoleMembershipViewModel(
IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent,
RoleMembership roleMembership)
: base(appCtx, dataCtx, parent, roleMembership)
{
_roleMembership = roleMembership;
_roleMembership.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(_roleMembership_PropertyChanged);
}
开发者ID:daszat,项目名称:zetbox,代码行数:8,代码来源:RoleMembershipViewModel.cs
示例20: DateRangeFilterViewModel
public DateRangeFilterViewModel(IViewModelDependencies dependencies, IZetboxContext dataCtx, ViewModel parent, IUIFilterModel mdl)
: base(dependencies, dataCtx, parent, mdl)
{
this.RangeFilter = (DateRangeFilterModel)mdl;
InitializeFromRange();
Arguments[0].IsReadOnly = true;
Arguments[1].IsReadOnly = true;
}
开发者ID:daszat,项目名称:zetbox,代码行数:8,代码来源:DateRangeFilterViewModel.cs
注:本文中的IViewModelDependencies类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论