BoxKite.Twitter.UsersExtensions.GetConfiguration C# (CSharp) Метод

GetConfiguration() публичный статический Метод

Returns the current configuration used by Twitter including twitter.com slugs which are not usernames, maximum photo resolutions, and t.co URL lengths.
ref: https://dev.twitter.com/rest/reference/get/help/configuration
public static GetConfiguration ( this session ) : Task
session this
Результат Task
        public async static Task<Configuration> GetConfiguration(this IUserSession session)
        {
            var parameters = new TwitterParametersCollection();
            parameters.Create();
            return await session.GetAsync(TwitterApi.Resolve("/1.1/help/configuration.json"), parameters).ContinueWith(c => c.MapToSingle<Configuration>());
        }
    }