#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;
        }
Esempio n. 2
0
#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));
 }
Esempio n. 4
0
 public void Resolve(IContainer container, Type service)
 {
     container.Bind(service, _weaver.GetProxyType(service));
 }