コード例 #1
0
 private static ISpecimenBuilderNode FindAutoPropertiesNode(
     ISpecimenBuilderNode graph)
 {
     return(graph
            .SelectNodes(IsAutoPropertyNode)
            .FirstOrDefault());
 }
コード例 #2
0
        private static ISpecimenBuilderNode FindContainer(
            ISpecimenBuilderNode graph)
        {
            var container = graph
                            .SelectNodes(n => n is FilteringSpecimenBuilder)
                            .First();

            return(container);
        }