- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
public static string ToName (this OAuthProviderType providerType)
{
switch (providerType) {
case OAuthProviderType.Facebook:
return "Facebook";
case OAuthProviderType.VKontakte:
return "VKontakte";
case OAuthProviderType.Instagram:
return "Instagram";
case OAuthProviderType.Twitter:
return "Twitter";
case OAuthProviderType.Google:
return "Google Plus";
case OAuthProviderType.MyMail:
return "My mail";
case OAuthProviderType.Odnoklassniki:
return "Odnoklassniki";
default:
return null;
}
}