private static HashSet <tPort> toEasyPort(schemas.tPort[] items) { HashSet <tPort> ret = new HashSet <tPort>(); if (items == null) { return(ret); } for (int i = 0; i < items.Length; i++) { tPort x = new tPort(); x.Any = ConvertTo.toEasyAny(items[i].Any); x.documentation = ConvertTo.toEasyDocumentation(items[i].documentation); x.name = items[i].name; x.binding = ConvertTo.toBindingType(items[i].binding); ret.Add(x); } return(ret); }
private static HashSet<tPort> toEasyPort(schemas.tPort[] items) { HashSet<tPort> ret = new HashSet<tPort>(); if (items == null) return ret; for (int i = 0; i < items.Length; i++) { tPort x = new tPort(); x.Any = ConvertTo.toEasyAny(items[i].Any); x.documentation = ConvertTo.toEasyDocumentation(items[i].documentation); x.name = items[i].name; x.binding = ConvertTo.toBindingType(items[i].binding); ret.Add(x); } return ret; }