Binboo.Core.Tests.Framework.ArgumentPipingCommand.defaultValidatorExpressions C# (CSharp) Method

defaultValidatorExpressions() private static method

private static defaultValidatorExpressions ( ) : ParamValidator>>[].Expression
return ParamValidator>>[].Expression
        private static Expression<Func<int, ParamValidator>>[] defaultValidatorExpressions()
        {
            return new Expression<Func<int, ParamValidator>>[]
            {
                s1 => ParamValidator.Custom("(?:\\s*)s1", true),
                s2 => ParamValidator.Custom("(?<param>s2)", true),
                s3 => ParamValidator.Custom("(?:\\s*)s3", true),
                s3 => ParamValidator.Custom("(?:\\s*)s3", true),
                s4 => ParamValidator.Custom("(?:\\s*)s4", true),
                multiple => ParamValidator.Custom(@"(?<param>m[0-9])((?:\s*,\s*)(?<param>m[0-9]))*", true),
            };
        }