コード例 #1
0
        //[ImportingConstructor]
        public ChildViewModel(IParentChildService parentChildService)
        {
            if (parentChildService == null)
            {
                throw new ArgumentNullException("parentChildService");
            }

            Name = "Bon";
            this.SubmitCommand = new DelegateCommand<object>(this.OnSubmit);
            this.AddressViewModel = new AddressViewModel();

            this._parentChildService = parentChildService;
        }
コード例 #2
0
 public ChildModule(IRegionViewRegistry registry, IParentChildService parentChildService)
 {
     this._regionViewRegistry = registry;
     this._parentChildService = parentChildService;
 }