Esempio n. 1
0
        private IEnumerable <IPropertyBinder> buildDefaultPropertyBinders()
        {
            var conversionPropertyBinder = new ConversionPropertyBinder(this);


            yield return(new AttributePropertyBinder());

            yield return(new ArrayPropertyBinder(conversionPropertyBinder));

            yield return(new CollectionPropertyBinder(conversionPropertyBinder));

            yield return(conversionPropertyBinder);

            yield return(new NestedObjectPropertyBinder());
        }
 public void SetUp()
 {
     context = new InMemoryBindingContext();
     converter = new ConversionPropertyBinder(new ValueConverterRegistry(new IConverterFamily[0]));
 }
 public void SetUp()
 {
     propertyBinder = new ConversionPropertyBinder(new BindingRegistry());
 }
Esempio n. 4
0
 public ArrayBuilder(ConversionPropertyBinder conversionPropertyBinder)
 {
     _conversionPropertyBinder = conversionPropertyBinder;
 }
 public EnumerableBuilder(ConversionPropertyBinder conversionPropertyBinder)
 {
     _conversionPropertyBinder = conversionPropertyBinder;
 }
 public CollectionPropertyBinder(ConversionPropertyBinder conversionPropertyBinder)
 {
     _conversionPropertyBinder = conversionPropertyBinder;
 }
        public void SetUp()
        {
            theRegistry = new BindingRegistry();
            var binder = new ConversionPropertyBinder(theRegistry);
            theDescription = Description.For(binder);

            theConversionList = theDescription.BulletLists.Single();
        }
 public void SetUp()
 {
     context = new InMemoryBindingContext();
     theConverterRegistry = new ValueConverterRegistry(new IConverterFamily[0], new ConverterLibrary());
     propertyBinder = new ConversionPropertyBinder(theConverterRegistry);
 }
Esempio n. 9
0
        private IEnumerable<IPropertyBinder> buildDefaultPropertyBinders()
        {
            var conversionPropertyBinder = new ConversionPropertyBinder(this);

            yield return new AttributePropertyBinder();
            yield return new ArrayPropertyBinder(conversionPropertyBinder);
            yield return new CollectionPropertyBinder(conversionPropertyBinder);

            yield return conversionPropertyBinder;
            yield return new NestedObjectPropertyBinder();
        }