#pragma warning disable 1591 // Xml Comments public bool CanResolve(IContainer container, Type service) { if (service.Name.Contains("ViewModel")) { var i = 0; i++; } return service.GetCustomAttributes(typeof(NotifyChangesAttribute), false).Length == 1; }
#pragma warning disable 1591 // Xml Comments public bool CanResolve(IContainer container, Type service) { if (service.Name.Contains("ViewModel")) { var i = 0; i++; } return(service.GetCustomAttributes(typeof(NotifyChangesAttribute), false).Length == 1); }
public void Resolve(IContainer container, Type service) { container.Bind(service, _weaver.GetProxyType(service)); }