Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the Apple class.
 /// </summary>
 /// <param name="enabled">&lt;code&gt;false&lt;/code&gt; if the Apple
 /// provider should not be enabled despite the set registration;
 /// otherwise, &lt;code&gt;true&lt;/code&gt;.</param>
 /// <param name="registration">The configuration settings of the Apple
 /// registration.</param>
 /// <param name="login">The configuration settings of the login
 /// flow.</param>
 public Apple(bool?enabled = default(bool?), AppleRegistration registration = default(AppleRegistration), LoginScopes login = default(LoginScopes))
 {
     Enabled      = enabled;
     Registration = registration;
     Login        = login;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the Apple class.
 /// </summary>
 /// <param name="id">Resource Id.</param>
 /// <param name="name">Resource Name.</param>
 /// <param name="kind">Kind of resource.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="enabled">&lt;code&gt;false&lt;/code&gt; if the Apple
 /// provider should not be enabled despite the set registration;
 /// otherwise, &lt;code&gt;true&lt;/code&gt;.</param>
 /// <param name="registration">The configuration settings of the Apple
 /// registration.</param>
 /// <param name="login">The configuration settings of the login
 /// flow.</param>
 public Apple(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool?enabled = default(bool?), AppleRegistration registration = default(AppleRegistration), LoginScopes login = default(LoginScopes))
     : base(id, name, kind, type)
 {
     Enabled      = enabled;
     Registration = registration;
     Login        = login;
     CustomInit();
 }