示例#1
0
        private static HashSet <tImport> toEasyImport(schemas.tImport[] items)
        {
            HashSet <tImport> ret = new HashSet <tImport>();

            if (items == null)
            {
                return(ret);
            }
            for (int i = 0; i < items.Length; i++)
            {
                tImport x = new tImport();
                x.AnyAttr       = ConvertTo.toEasyAnyAttr(items[i].AnyAttr);
                x.documentation = ConvertTo.toEasyDocumentation(items[i].documentation);
                x.location      = items[i].location;
                x.@namespace    = items[i].@namespace;
                ret.Add(x);
            }
            return(ret);
        }
示例#2
0
        private static HashSet<tImport> toEasyImport(schemas.tImport[] items)
        {
            HashSet<tImport> ret = new HashSet<tImport>();
            if (items == null)
                return ret;
            for (int i = 0; i < items.Length; i++)
            {
                tImport x = new tImport();
                x.AnyAttr = ConvertTo.toEasyAnyAttr(items[i].AnyAttr);
                x.documentation = ConvertTo.toEasyDocumentation(items[i].documentation);
                x.location = items[i].location;
                x.@namespace = items[i].@namespace;
                ret.Add(x);

            }
            return ret;
        }