Class ExtensionPropertyConfiguration
Inheritance
System.Object
ExtensionPropertyConfiguration
Assembly: Volo.Abp.ObjectExtending.dll
Syntax
public class ExtensionPropertyConfiguration : object, IHasNameWithLocalizableDisplayName, IBasicObjectExtensionPropertyInfo
Constructors
ExtensionPropertyConfiguration(EntityExtensionConfiguration, Type, String)
Declaration
public ExtensionPropertyConfiguration(EntityExtensionConfiguration entityExtensionConfiguration, Type type, string name)
Parameters
Properties
Api
Declaration
public ExtensionPropertyApiConfiguration Api { get; }
Property Value
Attributes
Declaration
public List<Attribute> Attributes { get; }
Property Value
Type |
Description |
List<Attribute> |
|
Configuration
Declaration
public Dictionary<string, object> Configuration { get; }
Property Value
Type |
Description |
Dictionary<System.String, 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
Entity
Declaration
public ExtensionPropertyEntityConfiguration Entity { get; }
Property Value
EntityExtensionConfiguration
Declaration
public EntityExtensionConfiguration EntityExtensionConfiguration { get; }
Property Value
IsAvailableToClients
Single point to enable/disable this property for the clients (UI and API).
If this is false, the configuration made in the UI and the Api
properties are not used.
Default: true.
Declaration
public bool IsAvailableToClients { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Type
Declaration
public Type Type { get; }
Property Value
UI
Declaration
public ExtensionPropertyUiConfiguration UI { 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