System.Reflection.MonoEventInfo.GetEventInfo C# (CSharp) 메소드

GetEventInfo() 정적인 개인적인 메소드

static private GetEventInfo ( System.Reflection.MonoEvent ev ) : MonoEventInfo
ev System.Reflection.MonoEvent
리턴 MonoEventInfo
		internal static MonoEventInfo GetEventInfo (MonoEvent ev)
		{
			MonoEventInfo mei;
			MonoEventInfo.get_event_info (ev, out mei);
			return mei;
		}
	}

Usage Example

예제 #1
0
파일: MonoEvent.cs 프로젝트: xxponline/mono
        public override MethodInfo[] GetOtherMethods(bool nonPublic)
        {
            MonoEventInfo info = MonoEventInfo.GetEventInfo(this);

            if (nonPublic)
            {
                return(info.other_methods);
            }
            int num_public = 0;

            foreach (MethodInfo m in info.other_methods)
            {
                if (m.IsPublic)
                {
                    num_public++;
                }
            }
            if (num_public == info.other_methods.Length)
            {
                return(info.other_methods);
            }
            MethodInfo[] res = new MethodInfo [num_public];
            num_public = 0;
            foreach (MethodInfo m in info.other_methods)
            {
                if (m.IsPublic)
                {
                    res [num_public++] = m;
                }
            }
            return(res);
        }
All Usage Examples Of System.Reflection.MonoEventInfo::GetEventInfo