/// <summary>
 /// Initializes a new instance of the ModuleCreateProperties class with
 /// required arguments.
 /// </summary>
 public ModuleCreateProperties(ContentLink contentLink)
     : this()
 {
     if (contentLink == null)
     {
         throw new ArgumentNullException("contentLink");
     }
     this.ContentLink = contentLink;
 }
 /// <summary>
 /// Initializes a new instance of the ModuleCreateProperties class with
 /// required arguments.
 /// </summary>
 public ModuleCreateProperties(ContentLink contentLink)
     : this()
 {
     if (contentLink == null)
     {
         throw new ArgumentNullException("contentLink");
     }
     this.ContentLink = contentLink;
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the RunbookCreateProperties class
 /// with required arguments.
 /// </summary>
 public RunbookCreateProperties(string runbookType, ContentLink publishContentLink)
     : this()
 {
     if (runbookType == null)
     {
         throw new ArgumentNullException("runbookType");
     }
     if (publishContentLink == null)
     {
         throw new ArgumentNullException("publishContentLink");
     }
     this.RunbookType        = runbookType;
     this.PublishContentLink = publishContentLink;
 }
 /// <summary>
 /// Initializes a new instance of the RunbookCreateProperties class
 /// with required arguments.
 /// </summary>
 public RunbookCreateProperties(string runbookType, ContentLink publishContentLink)
     : this()
 {
     if (runbookType == null)
     {
         throw new ArgumentNullException("runbookType");
     }
     if (publishContentLink == null)
     {
         throw new ArgumentNullException("publishContentLink");
     }
     this.RunbookType = runbookType;
     this.PublishContentLink = publishContentLink;
 }