Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ListForDetailView" /> class.
 /// </summary>
 /// <param name="command">command.</param>
 /// <param name="state">state.</param>
 public ListForDetailView(ListForDetailViewCommand command = default(ListForDetailViewCommand), ListForDetailViewState state = default(ListForDetailViewState))
 {
     this.Command = command;
     this.State   = state;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ListForDetailView" /> class.
 /// </summary>
 /// <param name="command">command (required).</param>
 /// <param name="state">state.</param>
 public ListForDetailView(ListForDetailViewCommand command = default(ListForDetailViewCommand), ListForDetailViewState state = default(ListForDetailViewState))
 {
     // to ensure "command" is required (not null)
     if (command == null)
     {
         throw new ArgumentNullException("command is a required property for ListForDetailView and cannot be null");
     }
     this.Command = command;
     this.State   = state;
 }