System.Reflection.Tests.EventInfoTests.GetRaiseMethod C# (CSharp) Метод

GetRaiseMethod() приватный Метод

private GetRaiseMethod ( Type type, string name ) : void
type Type
name string
Результат void
        public void GetRaiseMethod(Type type, string name)
        {
            EventInfo eventInfo = GetEventInfo(type, name);
            Assert.Null(eventInfo.GetRaiseMethod(false));
            Assert.Null(eventInfo.GetRaiseMethod(true));

            Assert.Equal(eventInfo.GetRaiseMethod(true), eventInfo.RaiseMethod);
        }