findType() 개인적인 메소드

private findType ( int qname ) : Type
qname int
리턴 Type
예제 #1
0
파일: Facets.cs 프로젝트: nomit007/f4
 public static Facets mapFacets(Pod pod, FAttrs.FFacet[] ffacets)
 {
     if (ffacets == null || ffacets.Length == 0) return empty();
       Hashtable map = new Hashtable();
       for (int i=0; i<ffacets.Length; ++i)
       {
     FAttrs.FFacet ff = ffacets[i];
     Type t = pod.findType(ff.type);
     map[t] = ff.val;
       }
       return new Facets(map);
 }
예제 #2
0
파일: Facets.cs 프로젝트: syatanic/fantom
        public static Facets mapFacets(Pod pod, FAttrs.FFacet[] ffacets)
        {
            if (ffacets == null || ffacets.Length == 0)
            {
                return(empty());
            }
            Hashtable map = new Hashtable();

            for (int i = 0; i < ffacets.Length; ++i)
            {
                FAttrs.FFacet ff = ffacets[i];
                Type          t  = pod.findType(ff.type);
                map[t] = ff.val;
            }
            return(new Facets(map));
        }