Exemple #1
0
        public NamespaceBuilder NameSpace(Action <NamespaceBuilder> configurator)
        {
            var child = NamespaceBuilder.Create();

            Children.Add(child);
            configurator(child);
            return(this);
        }
        public FileBuilder Namespace(Action <NamespaceBuilder> action)
        {
            var ns = NamespaceBuilder.Create();

            Children.Add(ns);
            action(ns);
            return(this);
        }