AthensTransit_Hackathon_WP_8._1.AthensTransit_Hackathon_WP_8_1_XamlTypeInfo.XamlTypeInfoProvider.LookupTypeIndexByType C# (CSharp) 메소드

LookupTypeIndexByType() 개인적인 메소드

private LookupTypeIndexByType ( global type ) : int
type global
리턴 int
        private int LookupTypeIndexByType(global::System.Type type)
        {
            if (_typeTable == null)
            {
                InitTypeTables();
            }
            for(int i=0; i<_typeTable.Length; i++)
            {
                if(type == _typeTable[i])
                {
                    return i;
                }
            }
            return -1;
        }