/// <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"><code>false</code> if the Twitter /// provider should not be enabled despite the set registration; /// otherwise, <code>true</code>.</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(); }
/// <summary> /// Initializes a new instance of the Twitter class. /// </summary> /// <param name="enabled"><code>false</code> if the Twitter /// provider should not be enabled despite the set registration; /// otherwise, <code>true</code>.</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(); }