示例#1
0
 public bool IsApplicableTo(IFakeObjectCall fakeObjectCall)
 {
     return(EventCall.GetEvent(fakeObjectCall.Method) != null);
 }
            public bool IsApplicableTo(IFakeObjectCall fakeObjectCall)
            {
                Guard.AgainstNull(fakeObjectCall, "fakeObjectCall");

                return(EventCall.GetEvent(fakeObjectCall.Method) != null);
            }
            public bool IsApplicableTo(IFakeObjectCall fakeObjectCall)
            {
                Guard.AgainstNull(fakeObjectCall, nameof(fakeObjectCall));

                return(EventCall.GetEvent(fakeObjectCall.Method) is object);
            }