Пример #1
0
        private Source[] GetSource()
        {
            var builder = new RuleSourceBuilder();

            builder.Directory(GetSourcePath("Baseline.Rule.yaml"));
            return(builder.Build());
        }
Пример #2
0
        private static Source[] GetSource()
        {
            var builder = new RuleSourceBuilder();

            builder.Directory(GetSourcePath("FromFile.Rule.ps1"));
            return(builder.Build());
        }
Пример #3
0
        private Source[] GetWithinSource()
        {
            var builder = new RuleSourceBuilder();

            builder.Directory(GetSourcePath("Benchmark.Within.Rule.ps1"));
            return(builder.Build());
        }