Exemplo n.º 1
0
        public static NodeTag CreateFile(string fileName, Language language, bool isNew)
        {
            var tag = new NodeTag {
                Type = NodeType.File, Language = language, IsNew = isNew
            };

            tag.Sources.Add(fileName);
            return(tag);
        }
Exemplo n.º 2
0
        public static NodeTag CreatePackage(string fileName, Language language)
        {
            var tag = new NodeTag {
                Type = NodeType.Package, Language = language
            };

            tag.Sources.Add(fileName);
            return(tag);
        }