/// <summary> /// Creates a new instance of the <see cref="DesignValueProvider"/> class. /// </summary> /// <param name="property">The property.</param> /// <param name="valueProvider">The value provider.</param> public DesignValueProvider(DesignProperty property, IValueProviderBindingSettings valueProvider) : this(property, (valueProvider != null && !string.IsNullOrEmpty(valueProvider.TypeId)) ? valueProvider.TypeId : string.Empty) { this.ValueProvider = valueProvider; }
/// <summary> /// Creates a new instance of the <see cref="DesignValueProvider"/> class. /// </summary> /// <param name="property">The property.</param> /// <param name="valueProvider">The value provider.</param> public DesignValueProvider(DesignProperty property, IValueProviderBindingSettings valueProvider) : this(property, (valueProvider != null && !string.IsNullOrEmpty(valueProvider.TypeId)) ? valueProvider.TypeId : string.Empty) { this.ValueProvider = valueProvider; }