RestSharp.Authenticators.OAuth.OAuthWorkflow.ValidateProtectedResourceState C# (CSharp) Метод

ValidateProtectedResourceState() приватный Метод

private ValidateProtectedResourceState ( ) : void
Результат void
        private void ValidateProtectedResourceState()
        {
            if (ConsumerKey.IsNullOrBlank())
            {
                throw new ArgumentException("You must specify a consumer key");
            }

            if (ConsumerSecret.IsNullOrBlank())
            {
                throw new ArgumentException("You must specify a consumer secret");
            }
        }