Bookstore.WebApp.Rules.RequireSetupRule.OnAny C# (CSharp) Method

OnAny() public method

public OnAny ( Type urlType ) : IEnumerable
urlType System.Type
return IEnumerable
        public override IEnumerable<IStep> OnAny(Type urlType)
        {
            yield return Steps.Redirect(c => Urls.root.bookstore_setup).Unless.True(c => new IsBookStoreSetup());
        }
RequireSetupRule