TechTalk.SpecFlow.ErrorHandling.ErrorProvider.GetNonStaticEventError C# (CSharp) Метод

GetNonStaticEventError() публичный Метод

public GetNonStaticEventError ( IBindingMethod method ) : Exception
method IBindingMethod
Результат System.Exception
        public Exception GetNonStaticEventError(IBindingMethod method)
        {
            throw new BindingException(
                string.Format("The binding methods for before/after feature and before/after test run events must be static! {0}",
                GetMethodText(method)));
        }
    }