/// <summary>
 /// Initializes a new instance of the NotificationHubResource class.
 /// </summary>
 public NotificationHubResource(string id = default(string), string location = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), NotificationHubProperties properties = default(NotificationHubProperties))
 {
     Id         = id;
     Location   = location;
     Name       = name;
     Type       = type;
     Tags       = tags;
     Properties = properties;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// NotificationHubCreateOrUpdateParameters class with required
 /// arguments.
 /// </summary>
 public NotificationHubCreateOrUpdateParameters(string location, NotificationHubProperties properties)
     : this()
 {
     if (location == null)
     {
         throw new ArgumentNullException("location");
     }
     if (properties == null)
     {
         throw new ArgumentNullException("properties");
     }
     this.Location   = location;
     this.Properties = properties;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// NotificationHubCreateOrUpdateParameters class with required
 /// arguments.
 /// </summary>
 public NotificationHubCreateOrUpdateParameters(string location, NotificationHubProperties properties)
     : this()
 {
     if (location == null)
     {
         throw new ArgumentNullException("location");
     }
     if (properties == null)
     {
         throw new ArgumentNullException("properties");
     }
     this.Location = location;
     this.Properties = properties;
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the
 /// NotificationHubCreateOrUpdateParameters class.
 /// </summary>
 public NotificationHubCreateOrUpdateParameters(string location, NotificationHubProperties properties, IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Location   = location;
     Tags       = tags;
     Properties = properties;
 }