/// <summary> /// Initializes a new instance of the Facebook class. /// </summary> /// <param name="enabled"><code>false</code> if the /// Facebook 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 Facebook provider.</param> /// <param name="graphApiVersion">The version of the Facebook api to be /// used while logging in.</param> /// <param name="login">The configuration settings of the login /// flow.</param> public Facebook(bool?enabled = default(bool?), AppRegistration registration = default(AppRegistration), string graphApiVersion = default(string), LoginScopes login = default(LoginScopes)) { Enabled = enabled; Registration = registration; GraphApiVersion = graphApiVersion; Login = login; CustomInit(); }
/// <summary> /// Initializes a new instance of the Facebook 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 /// Facebook 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 Facebook provider.</param> /// <param name="graphApiVersion">The version of the Facebook api to be /// used while logging in.</param> /// <param name="login">The configuration settings of the login /// flow.</param> public Facebook(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool?enabled = default(bool?), AppRegistration registration = default(AppRegistration), string graphApiVersion = default(string), LoginScopes login = default(LoginScopes)) : base(id, name, kind, type) { Enabled = enabled; Registration = registration; GraphApiVersion = graphApiVersion; Login = login; CustomInit(); }