Beispiel #1
0
 public IBinder[] Create()
 {
     var resolverFactory = new DefaultResolverFactory(activate);
     var destinationPropsBinding = new DestinationPropertyTypeBinder(resolverFactory){Logger=Logger};
     var listPropBinding = new ListPropertyBinder(resolverFactory){Logger=Logger};
     var selfBinding = new SelfBinder();
     return new IBinder[]{destinationPropsBinding,listPropBinding,selfBinding};
 }
Beispiel #2
0
        public IBinder[] Create()
        {
            var resolverFactory         = new DefaultResolverFactory(activate);
            var destinationPropsBinding = new DestinationPropertyTypeBinder(resolverFactory)
            {
                Logger = Logger
            };
            var listPropBinding = new ListPropertyBinder(resolverFactory)
            {
                Logger = Logger
            };
            var selfBinding = new SelfBinder();

            return(new IBinder[] { destinationPropsBinding, listPropBinding, selfBinding });
        }