private static MapResolveEventArgs InternalOnEvent(MapResolveEventHandler handler, object sender, Type expectType) { if(handler != null) { var e = new MapResolveEventArgs(expectType); handler(sender, e); if(e.Callback == null) return null; return e; } return null; }
private static MapResolveEventArgs InternalOnEvent(MapResolveEventHandler handler, object sender, Type expectType) { if (handler != null) { var e = new MapResolveEventArgs(expectType); handler(sender, e); if (e.Callback == null) { return(null); } return(e); } return(null); }