public static void Enable(Action <OAuthConfiguration> closure) { var configuration = new OAuthConfiguration(); closure.Invoke(configuration); Enable(configuration); }
public static void Enable(OAuthConfiguration configuration) { Configuration = configuration; IsEnabled = true; }