Пример #1
0
 /// <summary>
 /// Initializes a new instance of the LoadTypeRefCommand class.
 /// </summary>
 /// <param name="appCtx">the application context to use</param>
 /// <param name="dataCtx">the data context to use</param>
 /// <param name="parent">a ViewModel which should be notified while this command is executing</param>
 /// <param name="label">a label for this command</param>
 /// <param name="tooltip">a tooltip for this command</param>
 /// <param name="parentType">where to put the Command's result</param>
 /// This constructor is internal to avoid external inheritance of this class.
 internal LoadTypeRefCommand(IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent, string label, string tooltip, TypeRefPropertyViewModel parentType)
     : base(appCtx, dataCtx, parent, label, tooltip)
 {
     this.ParentType = parentType;
 }
 /// <summary>
 /// Initializes a new instance of the LoadTypeRefCommand class.
 /// </summary>
 /// <param name="appCtx">the application context to use</param>
 /// <param name="dataCtx">the data context to use</param>
 /// <param name="parent">a ViewModel which should be notified while this command is executing</param>
 /// <param name="label">a label for this command</param>
 /// <param name="tooltip">a tooltip for this command</param>
 /// <param name="parentType">where to put the Command's result</param>
 /// This constructor is internal to avoid external inheritance of this class.
 internal LoadTypeRefCommand(IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent, string label, string tooltip, TypeRefPropertyViewModel parentType)
     : base(appCtx, dataCtx, parent, label, tooltip)
 {
     this.ParentType = parentType;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the LoadTypeRefFromAssemblyRefCommand class.
 /// </summary>
 /// <param name="appCtx">the application context to use</param>
 /// <param name="dataCtx">the data context to use</param>
 /// <param name="parent">a ViewModel which should be notified while this command is executing</param>
 /// <param name="parentType">where to put the Command's result</param>
 /// This constructor is internal to avoid external inheritance of this class.
 public LoadTypeRefFromAssemblyRefCommand(IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent, TypeRefPropertyViewModel parentType)
     : base(appCtx, dataCtx, parent, "Select TypeRef by Assembly", "Loads all types from an Assembly", parentType)
 {
 }
 /// <summary>
 /// Initializes a new instance of the LoadTypeRefFromAssemblyRefCommand class.
 /// </summary>
 /// <param name="appCtx">the application context to use</param>
 /// <param name="dataCtx">the data context to use</param>
 /// <param name="parent">a ViewModel which should be notified while this command is executing</param>
 /// <param name="parentType">where to put the Command's result</param>
 /// This constructor is internal to avoid external inheritance of this class.
 public LoadTypeRefFromAssemblyRefCommand(IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent, TypeRefPropertyViewModel parentType)
     : base(appCtx, dataCtx, parent, "Select TypeRef by Assembly", "Loads all types from an Assembly", parentType)
 {
 }