Class ObjectExtensionPropertyInfo
Inheritance
System.Object
ObjectExtensionPropertyInfo
Assembly: Volo.Abp.ObjectExtending.dll
Syntax
public class ObjectExtensionPropertyInfo : object, IHasNameWithLocalizableDisplayName, IBasicObjectExtensionPropertyInfo
Constructors
ObjectExtensionPropertyInfo(ObjectExtensionInfo, Type, String)
Declaration
public ObjectExtensionPropertyInfo(ObjectExtensionInfo objectExtension, Type type, string name)
Parameters
Properties
Attributes
Declaration
public List<Attribute> Attributes { get; }
Property Value
Type |
Description |
List<Attribute> |
|
CheckPairDefinitionOnMapping
Indicates whether to check the other side of the object mapping
if it explicitly defines the property. This property is used in;
- .MapExtraPropertiesTo() extension method.
- .MapExtraProperties() configuration for the AutoMapper.
It this is true, these methods check if the mapping object
has defined the property using the ObjectExtensionManager.
Default: null (unspecified, uses the default logic).
Declaration
public bool? CheckPairDefinitionOnMapping { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Configuration
Declaration
public Dictionary<object, object> Configuration { get; }
Property Value
Type |
Description |
Dictionary<System.Object, System.Object> |
|
DefaultValue
Declaration
public object DefaultValue { get; set; }
Property Value
Type |
Description |
System.Object |
|
DefaultValueFactory
Used with the first priority to create the default value for the property.
Uses to the DefaultValue if this was not set.
Declaration
public Func<object> DefaultValueFactory { get; set; }
Property Value
Type |
Description |
Func<System.Object> |
|
DisplayName
Declaration
public ILocalizableString DisplayName { get; set; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
ObjectExtension
Declaration
public ObjectExtensionInfo ObjectExtension { get; }
Property Value
Type
Declaration
public Type Type { get; }
Property Value
Validators
Declaration
public List<Action<ObjectExtensionPropertyValidationContext>> Validators { get; }
Property Value
Methods
GetDefaultValue()
Declaration
public object GetDefaultValue()
Returns
Type |
Description |
System.Object |
|
Implements
Extension Methods