mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
901 B
30 lines
901 B
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using JetBrains.Annotations;
|
|
|
|
namespace Volo.Abp.ObjectExtending
|
|
{
|
|
public class ObjectExtensionPropertyInfo
|
|
{
|
|
[NotNull]
|
|
public ObjectExtensionInfo ObjectExtension { get; }
|
|
|
|
[NotNull]
|
|
public string Name { get; }
|
|
|
|
[NotNull]
|
|
public List<ValidationAttribute> ValidationAttributes { get; }
|
|
|
|
[NotNull]
|
|
public Dictionary<object, object> Configuration { get; }
|
|
|
|
public ObjectExtensionPropertyInfo(ObjectExtensionInfo objectExtension, string name)
|
|
{
|
|
ObjectExtension = Check.NotNull(objectExtension, nameof(objectExtension));
|
|
Name = Check.NotNull(name, nameof(name));
|
|
|
|
ValidationAttributes = new List<ValidationAttribute>();
|
|
Configuration = new Dictionary<object, object>();
|
|
}
|
|
}
|
|
}
|
|
|