Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EditListingViewModel"/> class.
 /// </summary>
 public EditListingViewModel()
 {
     if (Listing == null)
     {
         Listing = new ListingSubmissionViewModel();
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SubmitViewModel"/> class.
        /// </summary>
        public SubmitViewModel()
        {
            if (ReviewRevision == null)
            {
                ReviewRevision = new RevisionSubmissionViewModel();
            }

            if (Listing == null)
            {
                Listing = new ListingSubmissionViewModel();
            }

            InProcess = false;
        }