コード例 #1
0
 ///<summary>
 /// Initializes a new instance of <see cref="ValidationModel"/>.
 ///</summary>
 ///<param name="lookup">The element loookup service to use for monitoring the addition and removal of <see cref="ElementViewModel"/> items.</param>
 public ValidationModel(ElementLookup lookup)
 {
     this.lookup = lookup;
     this.navigateValidationResultCommand = new NavigateValidationResultCommand(this);
     ResetCollection();
     lookup.CollectionChanged += ElementsChanged;
 }
コード例 #2
0
ファイル: ValidationModel.cs プロジェクト: janeth182/ISIL
 ///<summary>
 /// Initializes a new instance of <see cref="ValidationModel"/>.
 ///</summary>
 ///<param name="lookup">The element loookup service to use for monitoring the addition and removal of <see cref="ElementViewModel"/> items.</param>
 public ValidationModel(ElementLookup lookup)
 {
     this.lookup = lookup;
     this.navigateValidationResultCommand = new NavigateValidationResultCommand(this);
     ResetCollection();
     lookup.CollectionChanged += ElementsChanged;
 }