/// <summary> /// Initializes a new instance of the ApplicationResourceDescription class. /// </summary> /// <param name="name">Name of the Application resource.</param> /// <param name="properties">Describes properties of a application resource.</param> public ApplicationResourceDescription( string name, ApplicationProperties properties) { name.ThrowIfNull(nameof(name)); properties.ThrowIfNull(nameof(properties)); this.Name = name; this.Properties = properties; }
/// <summary> /// Initializes a new instance of the ApplicationResourceDescription class. /// </summary> /// <param name="name">Name of the Application resource.</param> /// <param name="properties">Describes properties of a application resource.</param> /// <param name="identity">Describes the identity of the application.</param> public ApplicationResourceDescription( string name, ApplicationProperties properties, IdentityDescription identity = default(IdentityDescription)) { name.ThrowIfNull(nameof(name)); properties.ThrowIfNull(nameof(properties)); this.Name = name; this.Properties = properties; this.Identity = identity; }