/// <summary>
 /// Initializes a new instance of the Twitter 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 Twitter
 /// 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 app
 /// registration for the Twitter provider.</param>
 public Twitter(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool?enabled = default(bool?), TwitterRegistration registration = default(TwitterRegistration))
     : base(id, name, kind, type)
 {
     Enabled      = enabled;
     Registration = registration;
     CustomInit();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the Twitter class.
 /// </summary>
 /// <param name="enabled">&lt;code&gt;false&lt;/code&gt; if the Twitter
 /// 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 app
 /// registration for the Twitter provider.</param>
 public Twitter(bool?enabled = default(bool?), TwitterRegistration registration = default(TwitterRegistration))
 {
     Enabled      = enabled;
     Registration = registration;
     CustomInit();
 }