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