nhvalidator 1.2.0.3001.20100722
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/Antlr3.Runtime.dll +0 -0
- data/lib/Castle.Core.dll +0 -0
- data/lib/Castle.Core.xml +3197 -0
- data/lib/Castle.DynamicProxy2.dll +0 -0
- data/lib/Castle.DynamicProxy2.xml +1249 -0
- data/lib/Iesi.Collections.dll +0 -0
- data/lib/Iesi.Collections.xml +1903 -0
- data/lib/LinFu.DynamicProxy.dll +0 -0
- data/lib/NHibernate.ByteCode.Castle.dll +0 -0
- data/lib/NHibernate.ByteCode.Castle.xml +40 -0
- data/lib/NHibernate.ByteCode.LinFu.dll +0 -0
- data/lib/NHibernate.ByteCode.LinFu.xml +8 -0
- data/lib/NHibernate.Validator.Specific.dll +0 -0
- data/lib/NHibernate.Validator.Specific.pdb +0 -0
- data/lib/NHibernate.Validator.Specific.xml +89 -0
- data/lib/NHibernate.Validator.Tests.dll +0 -0
- data/lib/NHibernate.Validator.Tests.dll.config +115 -0
- data/lib/NHibernate.Validator.Tests.pdb +0 -0
- data/lib/NHibernate.Validator.dll +0 -0
- data/lib/NHibernate.Validator.pdb +0 -0
- data/lib/NHibernate.Validator.xml +1693 -0
- data/lib/NHibernate.dll +0 -0
- data/lib/NHibernate.xml +40555 -0
- data/lib/SharpTestsEx.NUnit.dll +0 -0
- data/lib/SharpTestsEx.NUnit.xml +682 -0
- data/lib/de/NHibernate.Validator.resources.dll +0 -0
- data/lib/en/NHibernate.Validator.Tests.resources.dll +0 -0
- data/lib/es/NHibernate.Validator.resources.dll +0 -0
- data/lib/fa/NHibernate.Validator.resources.dll +0 -0
- data/lib/fr/NHibernate.Validator.resources.dll +0 -0
- data/lib/hr/NHibernate.Validator.resources.dll +0 -0
- data/lib/it/NHibernate.Validator.resources.dll +0 -0
- data/lib/log4net.dll +0 -0
- data/lib/log4net.xml +28655 -0
- data/lib/lv/NHibernate.Validator.resources.dll +0 -0
- data/lib/nhvalidator.cfg.xml +5 -0
- data/lib/nl/NHibernate.Validator.resources.dll +0 -0
- data/lib/nunit.core.dll +0 -0
- data/lib/nunit.framework.dll +0 -0
- data/lib/nunit.framework.extensions.dll +0 -0
- data/lib/nunit.framework.xml +10088 -0
- data/lib/pl/NHibernate.Validator.resources.dll +0 -0
- data/lib/test-results/NHibernate.Validator.Tests.dll-results.xml +1158 -0
- metadata +111 -0
Binary file
|
Binary file
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<doc>
|
3
|
+
<assembly>
|
4
|
+
<name>NHibernate.ByteCode.Castle</name>
|
5
|
+
</assembly>
|
6
|
+
<members>
|
7
|
+
<member name="T:NHibernate.ByteCode.Castle.LazyInitializer">
|
8
|
+
<summary>
|
9
|
+
A <see cref="T:NHibernate.Proxy.ILazyInitializer"/> for use with the Castle Dynamic Class Generator.
|
10
|
+
</summary>
|
11
|
+
</member>
|
12
|
+
<member name="M:NHibernate.ByteCode.Castle.LazyInitializer.#ctor(System.String,System.Type,System.Object,System.Reflection.MethodInfo,System.Reflection.MethodInfo,NHibernate.Type.IAbstractComponentType,NHibernate.Engine.ISessionImplementor)">
|
13
|
+
<summary>
|
14
|
+
Initializes a new <see cref="T:NHibernate.ByteCode.Castle.LazyInitializer"/> object.
|
15
|
+
</summary>
|
16
|
+
<param name="entityName"></param>
|
17
|
+
<param name="persistentClass">The Class to Proxy.</param>
|
18
|
+
<param name="id">The Id of the Object we are Proxying.</param>
|
19
|
+
<param name="getIdentifierMethod"></param>
|
20
|
+
<param name="setIdentifierMethod"></param>
|
21
|
+
<param name="componentIdType"></param>
|
22
|
+
<param name="session">The ISession this Proxy is in.</param>
|
23
|
+
</member>
|
24
|
+
<member name="M:NHibernate.ByteCode.Castle.LazyInitializer.Intercept(Castle.Core.Interceptor.IInvocation)">
|
25
|
+
<summary>
|
26
|
+
Invoke the actual Property/Method using the Proxy or instantiate the actual
|
27
|
+
object and use it when the Proxy can't handle the method.
|
28
|
+
</summary>
|
29
|
+
<param name="invocation">The <see cref="T:Castle.Core.Interceptor.IInvocation"/> from the generated Castle.DynamicProxy.</param>
|
30
|
+
</member>
|
31
|
+
<member name="M:NHibernate.ByteCode.Castle.ProxyFactory.GetProxy(System.Object,NHibernate.Engine.ISessionImplementor)">
|
32
|
+
<summary>
|
33
|
+
Build a proxy using the Castle.DynamicProxy library.
|
34
|
+
</summary>
|
35
|
+
<param name="id">The value for the Id.</param>
|
36
|
+
<param name="session">The Session the proxy is in.</param>
|
37
|
+
<returns>A fully built <c>INHibernateProxy</c>.</returns>
|
38
|
+
</member>
|
39
|
+
</members>
|
40
|
+
</doc>
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,89 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<doc>
|
3
|
+
<assembly>
|
4
|
+
<name>NHibernate.Validator.Specific</name>
|
5
|
+
</assembly>
|
6
|
+
<members>
|
7
|
+
<member name="T:NHibernate.Validator.Specific.Br.CEPAttribute">
|
8
|
+
<summary>
|
9
|
+
This expression matches the Brazilian Zip-Code (CEP)
|
10
|
+
</summary>
|
11
|
+
</member>
|
12
|
+
<member name="T:NHibernate.Validator.Specific.Br.CPFAttribute">
|
13
|
+
<summary>
|
14
|
+
This expression matches the Brazilian Zip-Code (CEP)
|
15
|
+
</summary>
|
16
|
+
</member>
|
17
|
+
<member name="T:NHibernate.Validator.Specific.Hr.OIBAttribute">
|
18
|
+
<summary>
|
19
|
+
This expression matches the Croatian Personal Identification Number (OIB - Osobni Identifikacijski Broj).
|
20
|
+
</summary>
|
21
|
+
</member>
|
22
|
+
<member name="T:NHibernate.Validator.Specific.Hr.OIBValidator">
|
23
|
+
<summary>
|
24
|
+
|
25
|
+
</summary>
|
26
|
+
</member>
|
27
|
+
<member name="M:NHibernate.Validator.Specific.Hr.OIBValidator.IsValid(System.Object,NHibernate.Validator.Engine.IConstraintValidatorContext)">
|
28
|
+
<summary>
|
29
|
+
does the object/element pass the constraints
|
30
|
+
</summary>
|
31
|
+
<param name="value">Object to be validated</param>
|
32
|
+
<param name="constraintValidatorContext">Context for the validator constraint</param>
|
33
|
+
<returns>if the instance is valid</returns>
|
34
|
+
</member>
|
35
|
+
<member name="M:NHibernate.Validator.Specific.Hr.OIBValidator.CheckOib(System.String)">
|
36
|
+
<summary>
|
37
|
+
Checks the Croatian Personal Identification Number (OIB - Osobni Identifikacijski Broj).
|
38
|
+
Algoritham is ISO7064 MOD 11,10
|
39
|
+
</summary>
|
40
|
+
<param name="oib">The oib.</param>
|
41
|
+
<returns>True if OIB is valid else false.</returns>
|
42
|
+
</member>
|
43
|
+
<member name="T:NHibernate.Validator.Specific.It.CodiceFiscaleAttribute">
|
44
|
+
<summary>
|
45
|
+
This expression matches the Italian Fiscal Code.
|
46
|
+
</summary>
|
47
|
+
</member>
|
48
|
+
<member name="T:NHibernate.Validator.Specific.It.PartitaIvaAttribute">
|
49
|
+
<summary>
|
50
|
+
This expression matches an Italian Partita Iva Code.
|
51
|
+
</summary>
|
52
|
+
</member>
|
53
|
+
<member name="T:NHibernate.Validator.Specific.It.PartitaIvaValidator">
|
54
|
+
<summary>
|
55
|
+
Validator Partita IVA
|
56
|
+
</summary>
|
57
|
+
</member>
|
58
|
+
<member name="T:NHibernate.Validator.Specific.Pl.NIPAttribute">
|
59
|
+
<summary>
|
60
|
+
This expression matches the Polish Tax Number (NIP)
|
61
|
+
</summary>
|
62
|
+
</member>
|
63
|
+
<member name="T:NHibernate.Validator.Specific.Pl.PESELAttribute">
|
64
|
+
<summary>
|
65
|
+
This expression matches the Polish Identification Number (PESEL)
|
66
|
+
</summary>
|
67
|
+
</member>
|
68
|
+
<member name="T:NHibernate.Validator.Specific.Pl.PostalCodeAttribute">
|
69
|
+
<summary>
|
70
|
+
This expression matches the Polish postal code
|
71
|
+
</summary>
|
72
|
+
</member>
|
73
|
+
<member name="T:NHibernate.Validator.Specific.Pl.REGONAttribute">
|
74
|
+
<summary>
|
75
|
+
This expression matches the Polish National Business Register Number (REGON)
|
76
|
+
</summary>
|
77
|
+
</member>
|
78
|
+
<member name="T:NHibernate.Validator.Specific.Uy.CedulaIdentidadAttribute">
|
79
|
+
<summary>
|
80
|
+
This expression matches an Uruguayan identity card.
|
81
|
+
</summary>
|
82
|
+
</member>
|
83
|
+
<member name="T:NHibernate.Validator.Specific.Uy.CedulaIdentidadValidator">
|
84
|
+
<summary>
|
85
|
+
Validator Cedula identidad
|
86
|
+
</summary>
|
87
|
+
</member>
|
88
|
+
</members>
|
89
|
+
</doc>
|
Binary file
|
@@ -0,0 +1,115 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
2
|
+
<configuration>
|
3
|
+
<configSections>
|
4
|
+
<section name="hibernate-configuration"
|
5
|
+
type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate" />
|
6
|
+
<section name="nhv-configuration"
|
7
|
+
type="NHibernate.Validator.Cfg.ConfigurationSectionHandler, NHibernate.Validator" />
|
8
|
+
|
9
|
+
<section name="log4net"
|
10
|
+
type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
|
11
|
+
</configSections>
|
12
|
+
|
13
|
+
<runtime>
|
14
|
+
<!-- The assembly binding for FirebirdClient ADO.NET 2.0 DataProvider -->
|
15
|
+
<!--
|
16
|
+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
17
|
+
<qualifyAssembly partialName="FirebirdSql.Data.FirebirdClient" fullName="FirebirdSql.Data.FirebirdClient, Version=2.0.1.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c" />
|
18
|
+
</assemblyBinding>
|
19
|
+
-->
|
20
|
+
|
21
|
+
</runtime>
|
22
|
+
|
23
|
+
<nhv-configuration xmlns='urn:nhv-configuration-1.0'>
|
24
|
+
<shared_engine_provider class='NHibernate.Validator.Event.NHibernateSharedEngineProvider, NHibernate.Validator'/>
|
25
|
+
</nhv-configuration>
|
26
|
+
|
27
|
+
<!--
|
28
|
+
hibernate-configuration section
|
29
|
+
|
30
|
+
You don't need to change this section for your own use.
|
31
|
+
You can write your own hibernate.cfg.xml to override all session-factory configuration.
|
32
|
+
Templates are available in NHibernate.Config.Templates folder.
|
33
|
+
-->
|
34
|
+
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
|
35
|
+
<session-factory name="NHibernate.Test">
|
36
|
+
<!-- This is the System.Data.dll provider for MSSQL Server -->
|
37
|
+
<property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
|
38
|
+
<property name="connection.connection_string">
|
39
|
+
Server=(local)\SQLEXPRESS;initial catalog=nhibernate;user id=sa;password=gg
|
40
|
+
</property>
|
41
|
+
<property name="dialect">NHibernate.Dialect.MsSql2005Dialect</property>
|
42
|
+
<property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property>
|
43
|
+
<property name="proxyfactory.factory_class">NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</property>
|
44
|
+
</session-factory>
|
45
|
+
</hibernate-configuration>
|
46
|
+
|
47
|
+
<!-- This section contains the log4net configuration settings -->
|
48
|
+
<log4net debug="false">
|
49
|
+
|
50
|
+
<!-- Define some output appenders -->
|
51
|
+
<appender name="trace"
|
52
|
+
type="log4net.Appender.TraceAppender, log4net">
|
53
|
+
<layout type="log4net.Layout.PatternLayout,log4net">
|
54
|
+
<param name="ConversionPattern"
|
55
|
+
value="%d{ABSOLUTE} %-5p %c{1}:%L - %m%n" />
|
56
|
+
</layout>
|
57
|
+
</appender>
|
58
|
+
|
59
|
+
<appender name="console"
|
60
|
+
type="log4net.Appender.ConsoleAppender, log4net">
|
61
|
+
<layout type="log4net.Layout.PatternLayout,log4net">
|
62
|
+
<param name="ConversionPattern"
|
63
|
+
value="%d{ABSOLUTE} %-5p %c{1}:%L - %m%n" />
|
64
|
+
</layout>
|
65
|
+
</appender>
|
66
|
+
|
67
|
+
<appender name="rollingFile"
|
68
|
+
type="log4net.Appender.RollingFileAppender,log4net" >
|
69
|
+
|
70
|
+
<param name="File"
|
71
|
+
value="log.txt" />
|
72
|
+
<param name="AppendToFile"
|
73
|
+
value="false" />
|
74
|
+
<param name="RollingStyle"
|
75
|
+
value="Date" />
|
76
|
+
<param name="DatePattern"
|
77
|
+
value="yyyy.MM.dd" />
|
78
|
+
<param name="StaticLogFileName"
|
79
|
+
value="true" />
|
80
|
+
|
81
|
+
<layout type="log4net.Layout.PatternLayout,log4net">
|
82
|
+
<param name="ConversionPattern"
|
83
|
+
value="%d [%t] %-5p %c - %m%n" />
|
84
|
+
</layout>
|
85
|
+
</appender>
|
86
|
+
|
87
|
+
<!-- Setup the root category, add the appenders and set the default priority -->
|
88
|
+
|
89
|
+
<root>
|
90
|
+
<priority value="OFF" />
|
91
|
+
<appender-ref ref="console" />
|
92
|
+
</root>
|
93
|
+
|
94
|
+
<logger name="NHibernate.Validator.Engine.JITClassMappingFactory">
|
95
|
+
<level value="OFF" />
|
96
|
+
</logger>
|
97
|
+
|
98
|
+
<logger name="NHibernate.Validator.Mappings.OpenClassMapping">
|
99
|
+
<level value="OFF" />
|
100
|
+
</logger>
|
101
|
+
|
102
|
+
<logger name="NHibernate.Validator.Mappings.ReflectionClassMapping">
|
103
|
+
<level value="OFF" />
|
104
|
+
</logger>
|
105
|
+
|
106
|
+
<logger name="NHibernate.Validator.Engine.StateFullClassMappingFactory">
|
107
|
+
<level value="OFF" />
|
108
|
+
</logger>
|
109
|
+
</log4net>
|
110
|
+
|
111
|
+
|
112
|
+
</configuration>
|
113
|
+
|
114
|
+
|
115
|
+
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,1693 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<doc>
|
3
|
+
<assembly>
|
4
|
+
<name>NHibernate.Validator</name>
|
5
|
+
</assembly>
|
6
|
+
<members>
|
7
|
+
<member name="M:NHibernate.Validator.Cfg.IMappingsProvider.GetMappings">
|
8
|
+
<summary>
|
9
|
+
Get all mapped classes.
|
10
|
+
</summary>
|
11
|
+
<returns>All mapped classes for the current loader.</returns>
|
12
|
+
</member>
|
13
|
+
<member name="T:NHibernate.Validator.Cfg.INHVConfiguration">
|
14
|
+
<summary>
|
15
|
+
Contract for configuration sources.
|
16
|
+
</summary>
|
17
|
+
</member>
|
18
|
+
<member name="P:NHibernate.Validator.Cfg.INHVConfiguration.SharedEngineProviderClass">
|
19
|
+
<summary>
|
20
|
+
Assembly qualified name for shared engine provider.
|
21
|
+
</summary>
|
22
|
+
</member>
|
23
|
+
<member name="P:NHibernate.Validator.Cfg.INHVConfiguration.Properties">
|
24
|
+
<summary>
|
25
|
+
Configured properties.
|
26
|
+
</summary>
|
27
|
+
</member>
|
28
|
+
<member name="P:NHibernate.Validator.Cfg.INHVConfiguration.Mappings">
|
29
|
+
<summary>
|
30
|
+
Configured Mappings.
|
31
|
+
</summary>
|
32
|
+
</member>
|
33
|
+
<member name="P:NHibernate.Validator.Cfg.INHVConfiguration.EntityTypeInspectors">
|
34
|
+
<summary>
|
35
|
+
Configured Entity Type Inspectors.
|
36
|
+
</summary>
|
37
|
+
<seealso cref="T:NHibernate.Validator.Engine.IEntityTypeInspector"/>
|
38
|
+
</member>
|
39
|
+
<member name="M:NHibernate.Validator.Cfg.IMappingLoader.LoadMappings(System.Collections.Generic.IList{NHibernate.Validator.Cfg.MappingConfiguration})">
|
40
|
+
<summary>
|
41
|
+
Load all mappings configured in the nhv-configuration configuration section.
|
42
|
+
</summary>
|
43
|
+
<param name="configurationMappings">The list of configured mappings.</param>
|
44
|
+
</member>
|
45
|
+
<member name="M:NHibernate.Validator.Cfg.IMappingLoader.AddAssembly(System.String)">
|
46
|
+
<summary>
|
47
|
+
Adds all of the assembly's mappings.
|
48
|
+
</summary>
|
49
|
+
<param name="assemblyName">The assembly full name to load.</param>
|
50
|
+
<seealso cref="M:System.Reflection.Assembly.Load(System.Reflection.AssemblyName)"/>
|
51
|
+
</member>
|
52
|
+
<member name="M:NHibernate.Validator.Cfg.IMappingLoader.AddAssembly(System.Reflection.Assembly)">
|
53
|
+
<summary>
|
54
|
+
Adds all of the assembly's mappings.
|
55
|
+
</summary>
|
56
|
+
<param name="assembly">The assembly.</param>
|
57
|
+
</member>
|
58
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmClass">
|
59
|
+
<remarks/>
|
60
|
+
</member>
|
61
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmClass.attributename">
|
62
|
+
<remarks/>
|
63
|
+
</member>
|
64
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmClass.property">
|
65
|
+
<remarks/>
|
66
|
+
</member>
|
67
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmClass.name">
|
68
|
+
<remarks/>
|
69
|
+
</member>
|
70
|
+
<member name="M:NHibernate.Validator.Cfg.MappingSchema.RuleAttributeFactory.CreateAttributeFromClass(System.Type,NHibernate.Validator.Cfg.MappingSchema.NhvmClassAttributename)">
|
71
|
+
<summary>
|
72
|
+
Create the attribute of a entity-validator from XML definitions.
|
73
|
+
</summary>
|
74
|
+
<param name="entityType">The entity class where associate the attribute.</param>
|
75
|
+
<param name="attributename">The attribute name in the mapping.</param>
|
76
|
+
<returns>The <see cref="T:System.Attribute"/> instance.</returns>
|
77
|
+
<remarks>
|
78
|
+
We are using the conventions:
|
79
|
+
- The attribute must be defined in the same namespace of the <paramref name="entityType"/>.
|
80
|
+
- The attribute class may have the postfix "Attribute" without need to use it in the mapping.
|
81
|
+
</remarks>
|
82
|
+
</member>
|
83
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmProperty">
|
84
|
+
<remarks/>
|
85
|
+
</member>
|
86
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmProperty.Items">
|
87
|
+
<remarks/>
|
88
|
+
</member>
|
89
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmProperty.name">
|
90
|
+
<remarks/>
|
91
|
+
</member>
|
92
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmAssertfalse">
|
93
|
+
<remarks/>
|
94
|
+
</member>
|
95
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmAssertfalse.message">
|
96
|
+
<remarks/>
|
97
|
+
</member>
|
98
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmAssertfalse.tags">
|
99
|
+
<remarks/>
|
100
|
+
</member>
|
101
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmAsserttrue">
|
102
|
+
<remarks/>
|
103
|
+
</member>
|
104
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmAsserttrue.message">
|
105
|
+
<remarks/>
|
106
|
+
</member>
|
107
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmAsserttrue.tags">
|
108
|
+
<remarks/>
|
109
|
+
</member>
|
110
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmCreditcardnumber">
|
111
|
+
<remarks/>
|
112
|
+
</member>
|
113
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmCreditcardnumber.message">
|
114
|
+
<remarks/>
|
115
|
+
</member>
|
116
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmCreditcardnumber.tags">
|
117
|
+
<remarks/>
|
118
|
+
</member>
|
119
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmDecimalmax">
|
120
|
+
<remarks/>
|
121
|
+
</member>
|
122
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmDecimalmax.value">
|
123
|
+
<remarks/>
|
124
|
+
</member>
|
125
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmDecimalmax.valueSpecified">
|
126
|
+
<remarks/>
|
127
|
+
</member>
|
128
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmDecimalmax.message">
|
129
|
+
<remarks/>
|
130
|
+
</member>
|
131
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmDecimalmax.tags">
|
132
|
+
<remarks/>
|
133
|
+
</member>
|
134
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmDecimalmin">
|
135
|
+
<remarks/>
|
136
|
+
</member>
|
137
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmDecimalmin.value">
|
138
|
+
<remarks/>
|
139
|
+
</member>
|
140
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmDecimalmin.valueSpecified">
|
141
|
+
<remarks/>
|
142
|
+
</member>
|
143
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmDecimalmin.message">
|
144
|
+
<remarks/>
|
145
|
+
</member>
|
146
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmDecimalmin.tags">
|
147
|
+
<remarks/>
|
148
|
+
</member>
|
149
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmDigits">
|
150
|
+
<remarks/>
|
151
|
+
</member>
|
152
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmDigits.integerDigits">
|
153
|
+
<remarks/>
|
154
|
+
</member>
|
155
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmDigits.fractionalDigits">
|
156
|
+
<remarks/>
|
157
|
+
</member>
|
158
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmDigits.fractionalDigitsSpecified">
|
159
|
+
<remarks/>
|
160
|
+
</member>
|
161
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmDigits.message">
|
162
|
+
<remarks/>
|
163
|
+
</member>
|
164
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmDigits.tags">
|
165
|
+
<remarks/>
|
166
|
+
</member>
|
167
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmEan">
|
168
|
+
<remarks/>
|
169
|
+
</member>
|
170
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmEan.message">
|
171
|
+
<remarks/>
|
172
|
+
</member>
|
173
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmEan.tags">
|
174
|
+
<remarks/>
|
175
|
+
</member>
|
176
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmEmail">
|
177
|
+
<remarks/>
|
178
|
+
</member>
|
179
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmEmail.message">
|
180
|
+
<remarks/>
|
181
|
+
</member>
|
182
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmEmail.tags">
|
183
|
+
<remarks/>
|
184
|
+
</member>
|
185
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmFileexists">
|
186
|
+
<remarks/>
|
187
|
+
</member>
|
188
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmFileexists.message">
|
189
|
+
<remarks/>
|
190
|
+
</member>
|
191
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmFileexists.tags">
|
192
|
+
<remarks/>
|
193
|
+
</member>
|
194
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmFuture">
|
195
|
+
<remarks/>
|
196
|
+
</member>
|
197
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmFuture.message">
|
198
|
+
<remarks/>
|
199
|
+
</member>
|
200
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmFuture.tags">
|
201
|
+
<remarks/>
|
202
|
+
</member>
|
203
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmIban">
|
204
|
+
<remarks/>
|
205
|
+
</member>
|
206
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmIban.message">
|
207
|
+
<remarks/>
|
208
|
+
</member>
|
209
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmIban.tags">
|
210
|
+
<remarks/>
|
211
|
+
</member>
|
212
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmIpaddress">
|
213
|
+
<remarks/>
|
214
|
+
</member>
|
215
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmIpaddress.message">
|
216
|
+
<remarks/>
|
217
|
+
</member>
|
218
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmIpaddress.tags">
|
219
|
+
<remarks/>
|
220
|
+
</member>
|
221
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmLength">
|
222
|
+
<remarks/>
|
223
|
+
</member>
|
224
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmLength.min">
|
225
|
+
<remarks/>
|
226
|
+
</member>
|
227
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmLength.minSpecified">
|
228
|
+
<remarks/>
|
229
|
+
</member>
|
230
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmLength.max">
|
231
|
+
<remarks/>
|
232
|
+
</member>
|
233
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmLength.maxSpecified">
|
234
|
+
<remarks/>
|
235
|
+
</member>
|
236
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmLength.message">
|
237
|
+
<remarks/>
|
238
|
+
</member>
|
239
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmLength.tags">
|
240
|
+
<remarks/>
|
241
|
+
</member>
|
242
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmMax">
|
243
|
+
<remarks/>
|
244
|
+
</member>
|
245
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmMax.value">
|
246
|
+
<remarks/>
|
247
|
+
</member>
|
248
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmMax.valueSpecified">
|
249
|
+
<remarks/>
|
250
|
+
</member>
|
251
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmMax.message">
|
252
|
+
<remarks/>
|
253
|
+
</member>
|
254
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmMax.tags">
|
255
|
+
<remarks/>
|
256
|
+
</member>
|
257
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmMin">
|
258
|
+
<remarks/>
|
259
|
+
</member>
|
260
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmMin.value">
|
261
|
+
<remarks/>
|
262
|
+
</member>
|
263
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmMin.valueSpecified">
|
264
|
+
<remarks/>
|
265
|
+
</member>
|
266
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmMin.message">
|
267
|
+
<remarks/>
|
268
|
+
</member>
|
269
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmMin.tags">
|
270
|
+
<remarks/>
|
271
|
+
</member>
|
272
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmNotEmpty">
|
273
|
+
<remarks/>
|
274
|
+
</member>
|
275
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmNotEmpty.message">
|
276
|
+
<remarks/>
|
277
|
+
</member>
|
278
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmNotEmpty.tags">
|
279
|
+
<remarks/>
|
280
|
+
</member>
|
281
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmNotNull">
|
282
|
+
<remarks/>
|
283
|
+
</member>
|
284
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmNotNull.message">
|
285
|
+
<remarks/>
|
286
|
+
</member>
|
287
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmNotNull.tags">
|
288
|
+
<remarks/>
|
289
|
+
</member>
|
290
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmNotnullNotempty">
|
291
|
+
<remarks/>
|
292
|
+
</member>
|
293
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmNotnullNotempty.message">
|
294
|
+
<remarks/>
|
295
|
+
</member>
|
296
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmNotnullNotempty.tags">
|
297
|
+
<remarks/>
|
298
|
+
</member>
|
299
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmPast">
|
300
|
+
<remarks/>
|
301
|
+
</member>
|
302
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmPast.message">
|
303
|
+
<remarks/>
|
304
|
+
</member>
|
305
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmPast.tags">
|
306
|
+
<remarks/>
|
307
|
+
</member>
|
308
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmPattern">
|
309
|
+
<remarks/>
|
310
|
+
</member>
|
311
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmPattern.regex">
|
312
|
+
<remarks/>
|
313
|
+
</member>
|
314
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmPattern.message">
|
315
|
+
<remarks/>
|
316
|
+
</member>
|
317
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmPattern.regexoptions">
|
318
|
+
<remarks/>
|
319
|
+
</member>
|
320
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmPattern.tags">
|
321
|
+
<remarks/>
|
322
|
+
</member>
|
323
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmRange">
|
324
|
+
<remarks/>
|
325
|
+
</member>
|
326
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmRange.min">
|
327
|
+
<remarks/>
|
328
|
+
</member>
|
329
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmRange.minSpecified">
|
330
|
+
<remarks/>
|
331
|
+
</member>
|
332
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmRange.max">
|
333
|
+
<remarks/>
|
334
|
+
</member>
|
335
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmRange.maxSpecified">
|
336
|
+
<remarks/>
|
337
|
+
</member>
|
338
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmRange.message">
|
339
|
+
<remarks/>
|
340
|
+
</member>
|
341
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmRange.tags">
|
342
|
+
<remarks/>
|
343
|
+
</member>
|
344
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmRule">
|
345
|
+
<remarks/>
|
346
|
+
</member>
|
347
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmRule.param">
|
348
|
+
<remarks/>
|
349
|
+
</member>
|
350
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmRule.attribute">
|
351
|
+
<remarks/>
|
352
|
+
</member>
|
353
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmRule.tags">
|
354
|
+
<remarks/>
|
355
|
+
</member>
|
356
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmParam">
|
357
|
+
<remarks/>
|
358
|
+
</member>
|
359
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmParam.name">
|
360
|
+
<remarks/>
|
361
|
+
</member>
|
362
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmParam.value">
|
363
|
+
<remarks/>
|
364
|
+
</member>
|
365
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmSize">
|
366
|
+
<remarks/>
|
367
|
+
</member>
|
368
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmSize.min">
|
369
|
+
<remarks/>
|
370
|
+
</member>
|
371
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmSize.minSpecified">
|
372
|
+
<remarks/>
|
373
|
+
</member>
|
374
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmSize.max">
|
375
|
+
<remarks/>
|
376
|
+
</member>
|
377
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmSize.maxSpecified">
|
378
|
+
<remarks/>
|
379
|
+
</member>
|
380
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmSize.message">
|
381
|
+
<remarks/>
|
382
|
+
</member>
|
383
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmSize.tags">
|
384
|
+
<remarks/>
|
385
|
+
</member>
|
386
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmValid">
|
387
|
+
<remarks/>
|
388
|
+
</member>
|
389
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvMapping">
|
390
|
+
<remarks/>
|
391
|
+
</member>
|
392
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvMapping.class">
|
393
|
+
<remarks/>
|
394
|
+
</member>
|
395
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvMapping.namespace">
|
396
|
+
<remarks/>
|
397
|
+
</member>
|
398
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvMapping.assembly">
|
399
|
+
<remarks/>
|
400
|
+
</member>
|
401
|
+
<member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmClassAttributename">
|
402
|
+
<remarks/>
|
403
|
+
</member>
|
404
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmClassAttributename.message">
|
405
|
+
<remarks/>
|
406
|
+
</member>
|
407
|
+
<member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmClassAttributename.Text">
|
408
|
+
<remarks/>
|
409
|
+
</member>
|
410
|
+
<member name="T:NHibernate.Validator.Cfg.CfgXmlHelper">
|
411
|
+
<summary>
|
412
|
+
Helper to parse nhv-configuration XmlNode.
|
413
|
+
</summary>
|
414
|
+
</member>
|
415
|
+
<member name="F:NHibernate.Validator.Cfg.CfgXmlHelper.CfgSectionName">
|
416
|
+
<summary>
|
417
|
+
The XML node name for hibernate configuration section in the App.config/Web.config and
|
418
|
+
for the hibernate.cfg.xml .
|
419
|
+
</summary>
|
420
|
+
</member>
|
421
|
+
<member name="F:NHibernate.Validator.Cfg.CfgXmlHelper.CfgSchemaXMLNS">
|
422
|
+
<summary>The XML Namespace for the nhibernate-configuration</summary>
|
423
|
+
</member>
|
424
|
+
<member name="F:NHibernate.Validator.Cfg.CfgXmlHelper.SharedEngineClassExpression">
|
425
|
+
<summary>XPath expression for shared-engine-class node</summary>
|
426
|
+
</member>
|
427
|
+
<member name="F:NHibernate.Validator.Cfg.CfgXmlHelper.PropertiesExpression">
|
428
|
+
<summary>XPath expression for property nodes</summary>
|
429
|
+
</member>
|
430
|
+
<member name="F:NHibernate.Validator.Cfg.CfgXmlHelper.MappingsExpression">
|
431
|
+
<summary>XPath expression for mapping nodes</summary>
|
432
|
+
</member>
|
433
|
+
<member name="F:NHibernate.Validator.Cfg.CfgXmlHelper.EntityTypeInspectorsExpression">
|
434
|
+
<summary>XPath expression for entity-type-inspector nodes </summary>
|
435
|
+
</member>
|
436
|
+
<member name="M:NHibernate.Validator.Cfg.CfgXmlHelper.ValidatorModeConvertFrom(System.String)">
|
437
|
+
<summary>
|
438
|
+
Convert a given string to a <see cref="T:NHibernate.Validator.Engine.ValidatorMode"/>.
|
439
|
+
</summary>
|
440
|
+
<param name="validatorMode">The string</param>
|
441
|
+
<returns>The result <see cref="T:NHibernate.Validator.Engine.ValidatorMode"/>.</returns>
|
442
|
+
<exception cref="T:NHibernate.Validator.Exceptions.ValidatorConfigurationException">when the string don't have a valid value.</exception>
|
443
|
+
</member>
|
444
|
+
<member name="T:NHibernate.Validator.Cfg.ConfigurationSectionHandler">
|
445
|
+
<summary>
|
446
|
+
Readonly NHV configuration section handler
|
447
|
+
</summary>
|
448
|
+
</member>
|
449
|
+
<member name="T:NHibernate.Validator.Cfg.Environment">
|
450
|
+
<summary>
|
451
|
+
NHibernate Validator properties
|
452
|
+
</summary>
|
453
|
+
</member>
|
454
|
+
<member name="F:NHibernate.Validator.Cfg.Environment.ApplyToDDL">
|
455
|
+
<summary>
|
456
|
+
Apply DDL changes on Hibernate metamodel when using validator with Hibernate Annotations.
|
457
|
+
Default to true.
|
458
|
+
</summary>
|
459
|
+
</member>
|
460
|
+
<member name="F:NHibernate.Validator.Cfg.Environment.AutoregisterListeners">
|
461
|
+
<summary>
|
462
|
+
Enable listeners auto registration in Hibernate Annotations and EntityManager.
|
463
|
+
Default to true.
|
464
|
+
</summary>
|
465
|
+
</member>
|
466
|
+
<member name="F:NHibernate.Validator.Cfg.Environment.MessageInterpolatorClass">
|
467
|
+
<summary>
|
468
|
+
Message interpolator class used. The same instance is shared across all ClassValidators
|
469
|
+
</summary>
|
470
|
+
</member>
|
471
|
+
<member name="F:NHibernate.Validator.Cfg.Environment.MappingLoaderClass">
|
472
|
+
<summary>
|
473
|
+
Mapping loader implementor.
|
474
|
+
</summary>
|
475
|
+
</member>
|
476
|
+
<member name="F:NHibernate.Validator.Cfg.Environment.ConstraintValidatorFactoryClass">
|
477
|
+
<summary>
|
478
|
+
Constraint Validator Factory used to create Validators.
|
479
|
+
</summary>
|
480
|
+
</member>
|
481
|
+
<member name="F:NHibernate.Validator.Cfg.Environment.ValidatorMode">
|
482
|
+
<summary>
|
483
|
+
Define validation mode.
|
484
|
+
Default <see cref="F:NHibernate.Validator.Engine.ValidatorMode.UseAttribute"/>
|
485
|
+
</summary>
|
486
|
+
<remarks>
|
487
|
+
Allowed values are available in <see cref="T:NHibernate.Validator.Engine.ValidatorMode"/>.
|
488
|
+
</remarks>
|
489
|
+
<seealso cref="T:NHibernate.Validator.Engine.ValidatorMode"/>
|
490
|
+
</member>
|
491
|
+
<member name="F:NHibernate.Validator.Cfg.Environment.BaseNameOfMessageResource">
|
492
|
+
<summary>
|
493
|
+
Base name of resource file for embedded validators.
|
494
|
+
</summary>
|
495
|
+
</member>
|
496
|
+
<member name="F:NHibernate.Validator.Cfg.Environment.CustomResourceManager">
|
497
|
+
<summary>
|
498
|
+
The configuration property name for the custom resource manager
|
499
|
+
</summary>
|
500
|
+
</member>
|
501
|
+
<member name="F:NHibernate.Validator.Cfg.Environment.SharedEngineClass">
|
502
|
+
<summary>
|
503
|
+
Define the provider of shared engine between various logical layers.
|
504
|
+
</summary>
|
505
|
+
<remarks>
|
506
|
+
The main target of shared engine is have only one engine for the NHibernate events of validator.
|
507
|
+
If an application configure a certain shared engine provider and use it to get the ValidatorEngine
|
508
|
+
the result is that the events for NH configure the ValidatorEngine and the application can
|
509
|
+
share the same engine ensuring that app and NH-event make the same validation.
|
510
|
+
<para/>
|
511
|
+
The configuration of shared_engine_provider is ignored outside app/web config file.
|
512
|
+
</remarks>
|
513
|
+
</member>
|
514
|
+
<member name="P:NHibernate.Validator.Cfg.Environment.SharedEngineProvider">
|
515
|
+
<summary>
|
516
|
+
Shared engine provider instance.
|
517
|
+
</summary>
|
518
|
+
<remarks>
|
519
|
+
The Shared engine instance can be injected at run-time even if if not the better way to work with it.
|
520
|
+
</remarks>
|
521
|
+
</member>
|
522
|
+
<member name="T:NHibernate.Validator.Cfg.MappingConfiguration">
|
523
|
+
<summary>
|
524
|
+
Configuration parsed values for a mapping XML node
|
525
|
+
</summary>
|
526
|
+
<remarks>
|
527
|
+
There are 3 possible combinations of mapping attributes
|
528
|
+
1 - resource and assembly: NHV will read the mapping resource from the specified assembly
|
529
|
+
2 - file only: NHV will read the mapping from the file.
|
530
|
+
3 - assembly only: NHV will find all the resources ending in nhv.xml from the assembly.
|
531
|
+
</remarks>
|
532
|
+
</member>
|
533
|
+
<member name="M:NHibernate.Validator.Cfg.MappingConfiguration.#ctor(System.String)">
|
534
|
+
<summary>
|
535
|
+
Initializes a new instance of the <see cref="T:NHibernate.Validator.Cfg.MappingConfiguration"/> class.
|
536
|
+
</summary>
|
537
|
+
<param name="file">Mapped file.</param>
|
538
|
+
<exception cref="T:System.ArgumentException">When <paramref name="file"/> is null or empty.</exception>
|
539
|
+
</member>
|
540
|
+
<member name="M:NHibernate.Validator.Cfg.MappingConfiguration.#ctor(System.String,System.String)">
|
541
|
+
<summary>
|
542
|
+
Initializes a new instance of the <see cref="T:NHibernate.Validator.Cfg.MappingConfiguration"/> class.
|
543
|
+
</summary>
|
544
|
+
<param name="assembly">The assembly name.</param>
|
545
|
+
<param name="resource">The mapped embedded resource.</param>
|
546
|
+
<exception cref="T:System.ArgumentException">When <paramref name="assembly"/> is null or empty.</exception>
|
547
|
+
</member>
|
548
|
+
<member name="M:NHibernate.Validator.Cfg.MappingConfiguration.IsEmpty">
|
549
|
+
<summary>
|
550
|
+
Is the mapping element empty
|
551
|
+
</summary>
|
552
|
+
<returns>True if the element is empty; false otherwise.</returns>
|
553
|
+
</member>
|
554
|
+
<member name="P:NHibernate.Validator.Cfg.MappingConfiguration.File">
|
555
|
+
<summary>
|
556
|
+
The file of a mapped validator.
|
557
|
+
</summary>
|
558
|
+
</member>
|
559
|
+
<member name="P:NHibernate.Validator.Cfg.MappingConfiguration.Assembly">
|
560
|
+
<summary>
|
561
|
+
The assembly name where validator mapping is.
|
562
|
+
</summary>
|
563
|
+
</member>
|
564
|
+
<member name="P:NHibernate.Validator.Cfg.MappingConfiguration.Resource">
|
565
|
+
<summary>
|
566
|
+
The name of an embedded resource in the <see cref="P:NHibernate.Validator.Cfg.MappingConfiguration.Assembly"/>.
|
567
|
+
</summary>
|
568
|
+
</member>
|
569
|
+
<member name="T:NHibernate.Validator.Cfg.ValidatorInitializer">
|
570
|
+
<summary>
|
571
|
+
Extensions to integrate NHibernate.Validator with NHibernate
|
572
|
+
</summary>
|
573
|
+
</member>
|
574
|
+
<member name="M:NHibernate.Validator.Cfg.ValidatorInitializer.Initialize(NHibernate.Cfg.Configuration)">
|
575
|
+
<summary>
|
576
|
+
Initialize NHibernate's events and/or DLL.
|
577
|
+
</summary>
|
578
|
+
<param name="cfg">The NHibernate.Cfg.Configuration before build the session factory.</param>
|
579
|
+
<remarks>
|
580
|
+
If the <see cref="T:NHibernate.Validator.Engine.ISharedEngineProvider"/> was configured or the
|
581
|
+
<see cref="P:NHibernate.Validator.Cfg.Environment.SharedEngineProvider"/> was set, it will be used for the integration;
|
582
|
+
otherwise a new <see cref="T:NHibernate.Validator.Engine.ValidatorEngine"/> will be configured and used.
|
583
|
+
<para>
|
584
|
+
To have DDL-integration you must set the configuration property "apply_to_ddl" to true
|
585
|
+
</para>
|
586
|
+
<para>
|
587
|
+
To have events-integration you must set the configuration property "autoregister_listeners" to true
|
588
|
+
</para>
|
589
|
+
</remarks>
|
590
|
+
</member>
|
591
|
+
<member name="M:NHibernate.Validator.Cfg.ValidatorInitializer.Initialize(NHibernate.Cfg.Configuration,NHibernate.Validator.Engine.ValidatorEngine)">
|
592
|
+
<summary>
|
593
|
+
Initialize NHibernate's events and/or DLL.
|
594
|
+
</summary>
|
595
|
+
<param name="cfg">The NHibernate.Cfg.Configuration before build the session factory.</param>
|
596
|
+
<param name="ve">A configured ValidatorEngine (after call <see cref="M:NHibernate.Validator.Engine.ValidatorEngine.Configure"/>)</param>
|
597
|
+
<remarks>
|
598
|
+
<para>
|
599
|
+
To have DDL-integration you must set the configuration property "apply_to_ddl" to true
|
600
|
+
</para>
|
601
|
+
<para>
|
602
|
+
To have events-integration you must set the configuration property "autoregister_listeners" to true
|
603
|
+
</para>
|
604
|
+
</remarks>
|
605
|
+
</member>
|
606
|
+
<member name="T:NHibernate.Validator.Cfg.XmlConfiguration">
|
607
|
+
<summary>
|
608
|
+
Configuration parsed values for nhv-configuration section.
|
609
|
+
</summary>
|
610
|
+
</member>
|
611
|
+
<member name="M:NHibernate.Validator.Cfg.XmlConfiguration.#ctor">
|
612
|
+
<summary>
|
613
|
+
Initializes a new instance of the <see cref="T:NHibernate.Validator.Cfg.XmlConfiguration"/> class.
|
614
|
+
</summary>
|
615
|
+
<remarks>An empty configuration.</remarks>
|
616
|
+
</member>
|
617
|
+
<member name="M:NHibernate.Validator.Cfg.XmlConfiguration.#ctor(System.Xml.XmlReader)">
|
618
|
+
<summary>
|
619
|
+
Initializes a new instance of the <see cref="T:NHibernate.Validator.Cfg.XmlConfiguration"/> class.
|
620
|
+
</summary>
|
621
|
+
<param name="configurationReader">The XML reader to parse.</param>
|
622
|
+
<remarks>
|
623
|
+
The nhv-configuration.xsd is applied to the XML.
|
624
|
+
</remarks>
|
625
|
+
<exception cref="T:NHibernate.Validator.Exceptions.ValidatorConfigurationException">When nhibernate-configuration.xsd can't be applied.</exception>
|
626
|
+
</member>
|
627
|
+
<member name="P:NHibernate.Validator.Cfg.XmlConfiguration.Properties">
|
628
|
+
<summary>
|
629
|
+
Configured properties
|
630
|
+
</summary>
|
631
|
+
</member>
|
632
|
+
<member name="P:NHibernate.Validator.Cfg.XmlConfiguration.Mappings">
|
633
|
+
<summary>
|
634
|
+
Configured Mappings
|
635
|
+
</summary>
|
636
|
+
</member>
|
637
|
+
<member name="M:NHibernate.Validator.Cfg.XmlMappingLoader.AddAssembly(System.Reflection.Assembly)">
|
638
|
+
<summary>
|
639
|
+
Adds all of the assembly's embedded resources whose names end with <c>.nhv.xml</c>.
|
640
|
+
</summary>
|
641
|
+
<param name="assembly">The assembly.</param>
|
642
|
+
<returns>This configuration object.</returns>
|
643
|
+
</member>
|
644
|
+
<member name="M:NHibernate.Validator.Cfg.XmlMappingLoader.GetXmlMappingFor(System.Type)">
|
645
|
+
<summary>
|
646
|
+
Load and return a mapping for a given type.
|
647
|
+
</summary>
|
648
|
+
<param name="type">The given type.</param>
|
649
|
+
<returns>The mapping.</returns>
|
650
|
+
<remarks>
|
651
|
+
The method use a convention to find the resource that represent the mapping for the given class.
|
652
|
+
- The mapping must be compiled like embedded resource in the same assembly of the given type
|
653
|
+
- The name o the resource must be the same name of the type and end with ".nhv.xml"
|
654
|
+
- The resource must stay in the same namespace of the type
|
655
|
+
</remarks>
|
656
|
+
</member>
|
657
|
+
<member name="T:NHibernate.Validator.Constraints.AssertFalseAttribute">
|
658
|
+
<summary>
|
659
|
+
The annotated element has to be false
|
660
|
+
</summary>
|
661
|
+
</member>
|
662
|
+
<member name="T:NHibernate.Validator.Constraints.EmbeddedRuleArgsAttribute">
|
663
|
+
<summary>
|
664
|
+
Base class for all embedded validators, accepting Tags.
|
665
|
+
</summary>
|
666
|
+
</member>
|
667
|
+
<member name="T:NHibernate.Validator.Engine.ITagableRule">
|
668
|
+
<summary>
|
669
|
+
Define a validator-definition (Attribute) which accept tags.
|
670
|
+
</summary>
|
671
|
+
</member>
|
672
|
+
<member name="P:NHibernate.Validator.Constraints.EmbeddedRuleArgsAttribute.Tags">
|
673
|
+
<summary>
|
674
|
+
Collection of tags.
|
675
|
+
</summary>
|
676
|
+
<remarks>
|
677
|
+
This property should be used only by Attribute.
|
678
|
+
It is defined as object because language limitation
|
679
|
+
(see the end of http://msdn.microsoft.com/en-us/library/aa664616(VS.71).aspx).
|
680
|
+
</remarks>
|
681
|
+
<example>
|
682
|
+
<code>
|
683
|
+
[Max(100, Tags = new[] { typeof(Error), typeof(Warning) })]
|
684
|
+
public int Value { get; set; }
|
685
|
+
</code>
|
686
|
+
</example>
|
687
|
+
</member>
|
688
|
+
<member name="T:NHibernate.Validator.Engine.IRuleArgs">
|
689
|
+
<summary>
|
690
|
+
All validators attributes must implement this interface.
|
691
|
+
</summary>
|
692
|
+
</member>
|
693
|
+
<member name="T:NHibernate.Validator.Engine.IValidator">
|
694
|
+
<summary>
|
695
|
+
A validator for a particular attribute
|
696
|
+
</summary>
|
697
|
+
</member>
|
698
|
+
<member name="M:NHibernate.Validator.Engine.IValidator.IsValid(System.Object,NHibernate.Validator.Engine.IConstraintValidatorContext)">
|
699
|
+
<summary>
|
700
|
+
does the object/element pass the constraints
|
701
|
+
</summary>
|
702
|
+
<param name="value">Object to be validated</param>
|
703
|
+
<param name="constraintValidatorContext">Context for the validator constraint</param>
|
704
|
+
<returns>if the instance is valid</returns>
|
705
|
+
</member>
|
706
|
+
<member name="T:NHibernate.Validator.Constraints.AssertTrueAttribute">
|
707
|
+
<summary>
|
708
|
+
The annotated element has to be true
|
709
|
+
</summary>
|
710
|
+
</member>
|
711
|
+
<member name="T:NHibernate.Validator.Constraints.DecimalMaxAttribute">
|
712
|
+
<summary>
|
713
|
+
Max restriction on a numeric annotated element
|
714
|
+
</summary>
|
715
|
+
</member>
|
716
|
+
<member name="T:NHibernate.Validator.Engine.IPropertyConstraint">
|
717
|
+
<summary>
|
718
|
+
Interface implemented by the validator
|
719
|
+
when a constraint may be represented in a
|
720
|
+
hibernate metadata property
|
721
|
+
</summary>
|
722
|
+
</member>
|
723
|
+
<member name="T:NHibernate.Validator.Constraints.DecimalMinAttribute">
|
724
|
+
<summary>
|
725
|
+
Min restriction on a numeric annotated element (or the string representation of a numeric)
|
726
|
+
</summary>
|
727
|
+
</member>
|
728
|
+
<member name="T:NHibernate.Validator.Engine.IValidatorInstanceProvider">
|
729
|
+
<summary>
|
730
|
+
Define the contract for an object that can provide a Validator instance
|
731
|
+
instead a <see cref="T:NHibernate.Validator.Engine.IValidator"/> <see cref="T:System.Type"/>.
|
732
|
+
</summary>
|
733
|
+
</member>
|
734
|
+
<member name="T:NHibernate.Validator.Constraints.DigitsAttribute">
|
735
|
+
<summary>
|
736
|
+
Checks wheter the member is a number having up to <c>IntegerDigits</c>,
|
737
|
+
and <c>FractionalDigits</c> fractional digits.
|
738
|
+
<remarks>
|
739
|
+
<c>FractionalDigits</c> default value: 0.
|
740
|
+
</remarks>
|
741
|
+
<code>
|
742
|
+
For example:
|
743
|
+
<example>
|
744
|
+
- With [Digits(3)] //here FractionalDigits is zero.
|
745
|
+
- Valid values: 0; 9; 99; 99.0; null; 01;
|
746
|
+
- Invalid values: 1000; 10.1; "aa"; new object();
|
747
|
+
|
748
|
+
- With [Digits(2,3)]
|
749
|
+
- Valid values: 0; 100.100; 99.99;
|
750
|
+
- Invalid values: 1000.0; 9.233; 1233;
|
751
|
+
|
752
|
+
- With [Digits(0,2)]
|
753
|
+
- Valid values: 0; 0.1; 0.12;
|
754
|
+
- Invalid values: 1.12; 0.123
|
755
|
+
</example>
|
756
|
+
</code>
|
757
|
+
</summary>
|
758
|
+
</member>
|
759
|
+
<member name="M:NHibernate.Validator.Constraints.DigitsAttribute.IsValid(System.Object,NHibernate.Validator.Engine.IConstraintValidatorContext)">
|
760
|
+
<summary>
|
761
|
+
does the object/element pass the constraints
|
762
|
+
</summary>
|
763
|
+
<param name="value">Object to be validated</param>
|
764
|
+
<param name="constraintContext"></param>
|
765
|
+
<returns>if the instance is valid</returns>
|
766
|
+
</member>
|
767
|
+
<member name="T:NHibernate.Validator.Constraints.EANAttribute">
|
768
|
+
<summary>
|
769
|
+
The Attribute element has to represent an EAN-13 or UPC-A
|
770
|
+
which aims to check for user mistake, not actual number validity!
|
771
|
+
http://en.wikipedia.org/wiki/European_Article_Number
|
772
|
+
</summary>
|
773
|
+
</member>
|
774
|
+
<member name="T:NHibernate.Validator.Constraints.EmailAttribute">
|
775
|
+
<summary>
|
776
|
+
The string has to be a well-formed email address
|
777
|
+
</summary>
|
778
|
+
</member>
|
779
|
+
<member name="T:NHibernate.Validator.Constraints.FileExistsAttribute">
|
780
|
+
<summary>
|
781
|
+
The file, where string is pointing to, must exist.
|
782
|
+
</summary>
|
783
|
+
</member>
|
784
|
+
<member name="T:NHibernate.Validator.Constraints.FutureAttribute">
|
785
|
+
<summary>
|
786
|
+
Check that a Date representation apply in the future
|
787
|
+
</summary>
|
788
|
+
</member>
|
789
|
+
<member name="T:NHibernate.Validator.Constraints.IBANAttribute">
|
790
|
+
<summary>
|
791
|
+
This expression matches an IBAN Code (International Bank Account Number)
|
792
|
+
</summary>
|
793
|
+
</member>
|
794
|
+
<member name="F:NHibernate.Validator.Constraints.IBANAttribute.defs">
|
795
|
+
<summary>
|
796
|
+
Definitions of countries IBAN (Key=Country code as defined in ISO 3166; Value=IbanDefinition)
|
797
|
+
</summary>
|
798
|
+
</member>
|
799
|
+
<member name="M:NHibernate.Validator.Constraints.IBANAttribute.GetValidatable(System.Collections.Generic.IEnumerable{System.Char},System.String@)">
|
800
|
+
<summary>
|
801
|
+
IBAN cleaner
|
802
|
+
</summary>
|
803
|
+
<param name="iban">Not cleaned IBAN</param>
|
804
|
+
<param name="validable">The validatable IBAN</param>
|
805
|
+
<returns>true if the <paramref name="iban"/> have all valid character; otherwise false</returns>
|
806
|
+
</member>
|
807
|
+
<member name="M:NHibernate.Validator.Constraints.IBANAttribute.IsValidModOfCin(System.String)">
|
808
|
+
<summary>
|
809
|
+
Validate the CIN for a given encoded IBAN
|
810
|
+
</summary>
|
811
|
+
<param name="encodedIban">The encoded IBAN.</param>
|
812
|
+
<returns>true if the CIN is valid (mod=1); otherwise false</returns>
|
813
|
+
</member>
|
814
|
+
<member name="T:NHibernate.Validator.Constraints.IPAddressAttribute">
|
815
|
+
<summary>
|
816
|
+
Must be a valid IP address.
|
817
|
+
</summary>
|
818
|
+
</member>
|
819
|
+
<member name="T:NHibernate.Validator.Constraints.IsNumericAttribute">
|
820
|
+
<summary>
|
821
|
+
Check if string is a number.
|
822
|
+
</summary>
|
823
|
+
</member>
|
824
|
+
<member name="T:NHibernate.Validator.Constraints.LengthAttribute">
|
825
|
+
<summary>
|
826
|
+
Apply some length restrictions to the annotated element. It has to be a string
|
827
|
+
</summary>
|
828
|
+
</member>
|
829
|
+
<member name="T:NHibernate.Validator.Constraints.MaxAttribute">
|
830
|
+
<summary>
|
831
|
+
Max restriction on a numeric annotated element
|
832
|
+
</summary>
|
833
|
+
</member>
|
834
|
+
<member name="T:NHibernate.Validator.Constraints.MinAttribute">
|
835
|
+
<summary>
|
836
|
+
Min restriction on a numeric annotated element (or the string representation of a numeric)
|
837
|
+
</summary>
|
838
|
+
</member>
|
839
|
+
<member name="T:NHibernate.Validator.Constraints.NotEmptyAttribute">
|
840
|
+
<summary>
|
841
|
+
Check that a String is not empty (length > 0)
|
842
|
+
or that a IEnumerable is not empty (Count > 0)
|
843
|
+
</summary>
|
844
|
+
<remarks>
|
845
|
+
To validate for NotNull and Not Empty use NotNullNotEmptyAttribute.
|
846
|
+
</remarks>
|
847
|
+
</member>
|
848
|
+
<member name="T:NHibernate.Validator.Constraints.NotNullAttribute">
|
849
|
+
<summary>
|
850
|
+
Ensure the member to be not null.
|
851
|
+
</summary>
|
852
|
+
</member>
|
853
|
+
<member name="T:NHibernate.Validator.Constraints.NotNullNotEmptyAttribute">
|
854
|
+
<summary>
|
855
|
+
Ensure a IEnumerable (including string) to be not null and not empty.
|
856
|
+
<code>
|
857
|
+
<example>
|
858
|
+
Valid values: "abc"; new int[] {1}; new List<int>(new int[] { 1 });
|
859
|
+
Invalid values: null; ""; 123; new int[0]; new List<int>();
|
860
|
+
</example>
|
861
|
+
</code>
|
862
|
+
</summary>
|
863
|
+
</member>
|
864
|
+
<member name="T:NHibernate.Validator.Constraints.PastAttribute">
|
865
|
+
<summary>
|
866
|
+
Check that a date representation apply in the past
|
867
|
+
</summary>
|
868
|
+
</member>
|
869
|
+
<member name="T:NHibernate.Validator.Constraints.PatternAttribute">
|
870
|
+
<summary>
|
871
|
+
The annotated element must follow the regex pattern
|
872
|
+
</summary>
|
873
|
+
</member>
|
874
|
+
<member name="T:NHibernate.Validator.Constraints.RangeAttribute">
|
875
|
+
<summary>
|
876
|
+
The annotated elemnt has to be in the appropriate range. Apply on numeric values or string
|
877
|
+
representation of the numeric value.
|
878
|
+
</summary>
|
879
|
+
</member>
|
880
|
+
<member name="T:NHibernate.Validator.Constraints.SizeAttribute">
|
881
|
+
<summary>
|
882
|
+
Size range for Arrays, Collections (do not use with strings).
|
883
|
+
<code>
|
884
|
+
<example>
|
885
|
+
-[SizeAttribute] range from 0 to int.MaxValue.
|
886
|
+
Valid values: new int[0];
|
887
|
+
|
888
|
+
[SizeAttribute(1,3)] range from 1 to 3.
|
889
|
+
Valid values: new int[1]; new int[3]
|
890
|
+
Invalid values: new int[0]; new int[4]; "123"; 123;
|
891
|
+
</example>
|
892
|
+
</code>
|
893
|
+
</summary>
|
894
|
+
</member>
|
895
|
+
<member name="M:NHibernate.Validator.Constraints.SizeAttribute.#ctor">
|
896
|
+
<summary>
|
897
|
+
Min = 0
|
898
|
+
Max = int.MaxValue
|
899
|
+
</summary>
|
900
|
+
</member>
|
901
|
+
<member name="M:NHibernate.Validator.Constraints.SizeAttribute.#ctor(System.Int32,System.Int32)">
|
902
|
+
<summary>
|
903
|
+
Min and Max are specified in the parameters.
|
904
|
+
</summary>
|
905
|
+
<param name="min">Min value to ensure</param>
|
906
|
+
<param name="max">Max value to ensure</param>
|
907
|
+
</member>
|
908
|
+
<member name="T:NHibernate.Validator.Constraints.ValidAttribute">
|
909
|
+
<summary>
|
910
|
+
Enables recursive validation of an associated object
|
911
|
+
</summary>
|
912
|
+
</member>
|
913
|
+
<member name="T:NHibernate.Validator.Constraints.WithinAttribute">
|
914
|
+
<summary>
|
915
|
+
The annotated elemnt has to be in the appropriate range (excluding both limits).
|
916
|
+
Apply on numeric values can be converted to double (<see cref="M:System.Convert.ToDouble(System.Object)"/>).
|
917
|
+
</summary>
|
918
|
+
</member>
|
919
|
+
<member name="T:NHibernate.Validator.Engine.ClassValidator">
|
920
|
+
<summary>
|
921
|
+
Engine that take a object and check every expressed attribute restrictions
|
922
|
+
</summary>
|
923
|
+
</member>
|
924
|
+
<member name="M:NHibernate.Validator.Engine.IClassValidator.GetInvalidValues(System.Object)">
|
925
|
+
<summary>
|
926
|
+
Apply constraints on a entity instance and return all the failures.
|
927
|
+
if <paramref name="entity"/> is null, an empty array is returned
|
928
|
+
</summary>
|
929
|
+
<param name="entity">object to apply the constraints</param>
|
930
|
+
<returns></returns>
|
931
|
+
</member>
|
932
|
+
<member name="M:NHibernate.Validator.Engine.IClassValidator.GetInvalidValues(System.Object,System.String)">
|
933
|
+
<summary>
|
934
|
+
Apply constraints on a entity instance and return all the failures for the given property.
|
935
|
+
if <paramref name="entity"/> is null, an empty array is returned.
|
936
|
+
</summary>
|
937
|
+
<param name="entity">Object to apply the constraints</param>
|
938
|
+
<param name="propertyName">The name of the property to validate.</param>
|
939
|
+
<returns></returns>
|
940
|
+
</member>
|
941
|
+
<member name="M:NHibernate.Validator.Engine.IClassValidator.AssertValid(System.Object)">
|
942
|
+
<summary>
|
943
|
+
Assert a valid Object. A <see cref="T:NHibernate.Validator.Exceptions.InvalidStateException"/>
|
944
|
+
will be throw in a Invalid state.
|
945
|
+
</summary>
|
946
|
+
<param name="entity">Object to be asserted</param>
|
947
|
+
</member>
|
948
|
+
<member name="M:NHibernate.Validator.Engine.IClassValidator.GetPotentialInvalidValues(System.String,System.Object)">
|
949
|
+
<summary>
|
950
|
+
Apply constraints of a particular property value of a entity type and return all the failures.
|
951
|
+
The InvalidValue objects returns return null for <see cref="P:NHibernate.Validator.Engine.InvalidValue.Entity"/> and <see cref="P:NHibernate.Validator.Engine.InvalidValue.RootEntity"/>.
|
952
|
+
</summary>
|
953
|
+
<param name="propertyName"></param>
|
954
|
+
<param name="value"></param>
|
955
|
+
<returns></returns>
|
956
|
+
</member>
|
957
|
+
<member name="M:NHibernate.Validator.Engine.IClassValidator.Apply(NHibernate.Mapping.PersistentClass)">
|
958
|
+
<summary>
|
959
|
+
Apply the registred constraints rules on the hibernate metadata (to be applied on DB schema)
|
960
|
+
</summary>
|
961
|
+
<param name="persistentClass">hibernate metadata</param>
|
962
|
+
</member>
|
963
|
+
<member name="M:NHibernate.Validator.Engine.IClassValidator.GetMemberConstraints(System.String)">
|
964
|
+
<summary>
|
965
|
+
Get the list of constraints declared for a give member of the entityValidator
|
966
|
+
</summary>
|
967
|
+
<param name="propertyName">The name of the property.</param>
|
968
|
+
<returns>The list of attribute of the given property.</returns>
|
969
|
+
</member>
|
970
|
+
<member name="M:NHibernate.Validator.Engine.IClassValidator.GetInvalidValues(System.Object,System.Object[])">
|
971
|
+
<summary>
|
972
|
+
Apply constraints on a entity instance and return all the failures.
|
973
|
+
if <paramref name="entity"/> is null, an empty array is returned
|
974
|
+
</summary>
|
975
|
+
<param name="entity">object to apply the constraints</param>
|
976
|
+
<param name="tags">list of tags enabled fpr the validation.</param>
|
977
|
+
<returns>Invalid values</returns>
|
978
|
+
</member>
|
979
|
+
<member name="M:NHibernate.Validator.Engine.IClassValidator.GetInvalidValues(System.Object,System.String,System.Object[])">
|
980
|
+
<summary>
|
981
|
+
Apply constraints on a entity instance and return all the failures for the given property.
|
982
|
+
if <paramref name="entity"/> is null, an empty array is returned.
|
983
|
+
</summary>
|
984
|
+
<param name="entity">Object to apply the constraints</param>
|
985
|
+
<param name="propertyName">The name of the property to validate.</param>
|
986
|
+
<param name="tags">list of tags enabled fpr the validation.</param>
|
987
|
+
<returns>Invalid values</returns>
|
988
|
+
</member>
|
989
|
+
<member name="M:NHibernate.Validator.Engine.IClassValidator.GetPotentialInvalidValues(System.String,System.Object,System.Object[])">
|
990
|
+
<summary>
|
991
|
+
Apply constraints of a particular property value of a entity type and return all the failures.
|
992
|
+
The InvalidValue objects returns return null for <see cref="P:NHibernate.Validator.Engine.InvalidValue.Entity"/> and <see cref="P:NHibernate.Validator.Engine.InvalidValue.RootEntity"/>.
|
993
|
+
</summary>
|
994
|
+
<param name="propertyName">The name of the property to validate.</param>
|
995
|
+
<param name="value">the potential value of the property.</param>
|
996
|
+
<param name="tags">list of tags enabled fpr the validation.</param>
|
997
|
+
<returns>Invalid values</returns>
|
998
|
+
</member>
|
999
|
+
<member name="P:NHibernate.Validator.Engine.IClassValidator.HasValidationRules">
|
1000
|
+
<summary>
|
1001
|
+
Return true if this <see cref="T:NHibernate.Validator.Engine.ClassValidator"/> contains rules for apply, false in other case.
|
1002
|
+
</summary>
|
1003
|
+
</member>
|
1004
|
+
<member name="F:NHibernate.Validator.Engine.ClassValidator.userInterpolatorType">
|
1005
|
+
<summary>
|
1006
|
+
Used to create an instance when deserialize
|
1007
|
+
</summary>
|
1008
|
+
</member>
|
1009
|
+
<member name="M:NHibernate.Validator.Engine.ClassValidator.#ctor(System.Type)">
|
1010
|
+
<summary>
|
1011
|
+
Create the validator engine for this entity type.
|
1012
|
+
</summary>
|
1013
|
+
<remarks>
|
1014
|
+
Used in Unit Testing.
|
1015
|
+
</remarks>
|
1016
|
+
<param name="entityType"></param>
|
1017
|
+
</member>
|
1018
|
+
<member name="M:NHibernate.Validator.Engine.ClassValidator.#ctor(System.Type,System.Resources.ResourceManager,System.Globalization.CultureInfo,NHibernate.Validator.Engine.ValidatorMode)">
|
1019
|
+
<summary>
|
1020
|
+
Create the validator engine for a particular entity class, using a resource bundle
|
1021
|
+
for message rendering on violation
|
1022
|
+
</summary>
|
1023
|
+
<remarks>
|
1024
|
+
Used in Unit Testing.
|
1025
|
+
</remarks>
|
1026
|
+
<param name="entityType">entity type</param>
|
1027
|
+
<param name="resourceManager"></param>
|
1028
|
+
<param name="culture">The CultureInfo for the <paramref name="entityType"/>.</param>
|
1029
|
+
<param name="validatorMode">Validator definition mode</param>
|
1030
|
+
</member>
|
1031
|
+
<member name="M:NHibernate.Validator.Engine.ClassValidator.#ctor(System.Type,System.Resources.ResourceManager,NHibernate.Validator.Engine.IMessageInterpolator,System.Globalization.CultureInfo,NHibernate.Validator.Engine.ValidatorMode)">
|
1032
|
+
<summary>
|
1033
|
+
Create the validator engine for a particular entity class, using a resource bundle
|
1034
|
+
for message rendering on violation
|
1035
|
+
</summary>
|
1036
|
+
<remarks>
|
1037
|
+
Used in Unit Testing.
|
1038
|
+
</remarks>
|
1039
|
+
<param name="entityType">entity type</param>
|
1040
|
+
<param name="resourceManager"></param>
|
1041
|
+
<param name="userInterpolator">Custom interpolator.</param>
|
1042
|
+
<param name="culture">The CultureInfo for the <paramref name="entityType"/>.</param>
|
1043
|
+
<param name="validatorMode">Validator definition mode</param>
|
1044
|
+
</member>
|
1045
|
+
<member name="M:NHibernate.Validator.Engine.ClassValidator.InitValidator(System.Type,System.Collections.Generic.IDictionary{System.Type,NHibernate.Validator.Engine.IClassValidator})">
|
1046
|
+
<summary>
|
1047
|
+
Initialize the <see cref="T:NHibernate.Validator.Engine.ClassValidator"/> type.
|
1048
|
+
</summary>
|
1049
|
+
<param name="clazz"></param>
|
1050
|
+
<param name="nestedClassValidators"></param>
|
1051
|
+
</member>
|
1052
|
+
<member name="M:NHibernate.Validator.Engine.ClassValidator.GetInvalidValues(System.Object)">
|
1053
|
+
<summary>
|
1054
|
+
Apply constraints on a entity instance and return all the failures.
|
1055
|
+
if <paramref name="entity"/> is null, an empty array is returned
|
1056
|
+
</summary>
|
1057
|
+
<param name="entity">object to apply the constraints</param>
|
1058
|
+
<returns></returns>
|
1059
|
+
</member>
|
1060
|
+
<member name="M:NHibernate.Validator.Engine.ClassValidator.ChildInvalidValues(System.Object,System.Object,System.Reflection.MemberInfo,System.Collections.Generic.HashSet{System.Object},System.Collections.Generic.ICollection{System.Object})">
|
1061
|
+
<summary>
|
1062
|
+
Validate the child validation to objects and collections
|
1063
|
+
</summary>
|
1064
|
+
</member>
|
1065
|
+
<member name="M:NHibernate.Validator.Engine.ClassValidator.GetClassValidator(System.Type)">
|
1066
|
+
<summary>
|
1067
|
+
Get the ClassValidator for the <paramref name="objectType"/>
|
1068
|
+
parametter from <see cref="F:NHibernate.Validator.Engine.ClassValidator.childClassValidators"/>. If doesn't exist, a
|
1069
|
+
new <see cref="T:NHibernate.Validator.Engine.ClassValidator"/> is returned.
|
1070
|
+
</summary>
|
1071
|
+
<param name="objectType">type</param>
|
1072
|
+
<returns></returns>
|
1073
|
+
</member>
|
1074
|
+
<member name="M:NHibernate.Validator.Engine.ClassValidator.CreateOrGetValidator(System.Attribute)">
|
1075
|
+
<summary>
|
1076
|
+
Create a <see cref="T:NHibernate.Validator.Engine.IValidator"/> from a <see cref="T:NHibernate.Validator.Engine.ValidatorClassAttribute"/> attribute.
|
1077
|
+
If the attribute is not a <see cref="T:NHibernate.Validator.Engine.ValidatorClassAttribute"/> type return null.
|
1078
|
+
</summary>
|
1079
|
+
<param name="attribute">attribute</param>
|
1080
|
+
<returns>the validator for the attribute</returns>
|
1081
|
+
</member>
|
1082
|
+
<member name="M:NHibernate.Validator.Engine.ClassValidator.CreateChildValidator(System.Reflection.MemberInfo,System.Collections.Generic.IEnumerable{System.Attribute})">
|
1083
|
+
<summary>
|
1084
|
+
Create the validator for the children, who got the <see cref="T:NHibernate.Validator.Constraints.ValidAttribute"/>
|
1085
|
+
on the fields or properties
|
1086
|
+
</summary>
|
1087
|
+
</member>
|
1088
|
+
<member name="M:NHibernate.Validator.Engine.ClassValidator.AddSuperClassesAndInterfaces(System.Type,System.Collections.Generic.HashSet{System.Type})">
|
1089
|
+
<summary>
|
1090
|
+
Add recursively the inheritance tree of types (Classes and Interfaces)
|
1091
|
+
to the parameter <paramref name="classes"/>
|
1092
|
+
</summary>
|
1093
|
+
<param name="clazz">Type to be analyzed</param>
|
1094
|
+
<param name="classes">Collections of types</param>
|
1095
|
+
</member>
|
1096
|
+
<member name="M:NHibernate.Validator.Engine.ClassValidator.AssertValid(System.Object)">
|
1097
|
+
<summary>
|
1098
|
+
Assert a valid Object. A <see cref="T:NHibernate.Validator.Exceptions.InvalidStateException"/>
|
1099
|
+
will be throw in a Invalid state.
|
1100
|
+
</summary>
|
1101
|
+
<param name="entity">Object to be asserted</param>
|
1102
|
+
</member>
|
1103
|
+
<member name="M:NHibernate.Validator.Engine.ClassValidator.GetPotentialInvalidValues(System.String,System.Object)">
|
1104
|
+
<summary>
|
1105
|
+
Apply constraints of a particular property value of a entity type and return all the failures.
|
1106
|
+
The InvalidValue objects returns an empty enumerable for InvalidValue#Entity and InvalidValue#RootEntity.
|
1107
|
+
Note: this is not recursive.
|
1108
|
+
</summary>
|
1109
|
+
<param name="propertyName">Name of the property or field to validate</param>
|
1110
|
+
<param name="value">Real value to validate. Is not an entity instance.</param>
|
1111
|
+
<returns></returns>
|
1112
|
+
</member>
|
1113
|
+
<member name="M:NHibernate.Validator.Engine.ClassValidator.Apply(NHibernate.Mapping.PersistentClass)">
|
1114
|
+
<summary>
|
1115
|
+
Apply the registred constraints rules on the hibernate metadata (to be applied on DB schema)
|
1116
|
+
</summary>
|
1117
|
+
<param name="persistentClass">hibernate metadata</param>
|
1118
|
+
</member>
|
1119
|
+
<member name="P:NHibernate.Validator.Engine.ClassValidator.HasValidationRules">
|
1120
|
+
<summary>
|
1121
|
+
Return true if this <see cref="T:NHibernate.Validator.Engine.ClassValidator"/> contains rules for apply, false in other case.
|
1122
|
+
</summary>
|
1123
|
+
</member>
|
1124
|
+
<member name="T:NHibernate.Validator.Engine.ClassValidator.JITClassValidatorFactory">
|
1125
|
+
<summary>
|
1126
|
+
Just In Time ClassValidatorFactory
|
1127
|
+
</summary>
|
1128
|
+
</member>
|
1129
|
+
<member name="T:NHibernate.Validator.Engine.DefaultEntityTypeInspector">
|
1130
|
+
<summary>
|
1131
|
+
An <see cref="T:NHibernate.Validator.Engine.IEntityTypeInspector"/> for proxy coming from NHibernate.
|
1132
|
+
</summary>
|
1133
|
+
</member>
|
1134
|
+
<member name="T:NHibernate.Validator.Engine.IEntityTypeInspector">
|
1135
|
+
<summary>
|
1136
|
+
Inspector to find the real type of an entity instance.
|
1137
|
+
</summary>
|
1138
|
+
<remarks>
|
1139
|
+
En entity instace can be a dynamic proxy.
|
1140
|
+
Implementors shoud recognize the proxy and return the <see cref="T:System.Type"/>
|
1141
|
+
of the target.
|
1142
|
+
If the type is not a proxy the implementors shouldn't recognize it.
|
1143
|
+
</remarks>
|
1144
|
+
</member>
|
1145
|
+
<member name="M:NHibernate.Validator.Engine.IEntityTypeInspector.GuessType(System.Object)">
|
1146
|
+
<summary>
|
1147
|
+
Guess the type of the entity instance.
|
1148
|
+
</summary>
|
1149
|
+
<param name="entityInstance">The entity instance</param>
|
1150
|
+
<returns>The <see cref="T:System.Type"/> of the entity if was recognized; otherwise null.</returns>
|
1151
|
+
</member>
|
1152
|
+
<member name="T:NHibernate.Validator.Engine.IInitializableValidator`1">
|
1153
|
+
<summary>
|
1154
|
+
Contract for validator that need initialization.
|
1155
|
+
</summary>
|
1156
|
+
<typeparam name="A">The attribute that hold validator parameters.</typeparam>
|
1157
|
+
</member>
|
1158
|
+
<member name="M:NHibernate.Validator.Engine.IInitializableValidator`1.Initialize(`0)">
|
1159
|
+
<summary>
|
1160
|
+
Take the attribute values and Initialize the Validator
|
1161
|
+
</summary>
|
1162
|
+
<param name="parameters">parameters</param>
|
1163
|
+
</member>
|
1164
|
+
<member name="T:NHibernate.Validator.Engine.IMessageInterpolator">
|
1165
|
+
<summary>
|
1166
|
+
Responsible for validator message interpolation (variable replacement etc)
|
1167
|
+
this extension point is useful if the call has some contextual informations to
|
1168
|
+
interpolate in validator messages
|
1169
|
+
</summary>
|
1170
|
+
</member>
|
1171
|
+
<member name="T:NHibernate.Validator.Engine.InvalidValue">
|
1172
|
+
<summary>
|
1173
|
+
A single violation of a class level or method level constraint.
|
1174
|
+
</summary>
|
1175
|
+
<remarks>
|
1176
|
+
Created by <see cref="T:NHibernate.Validator.Engine.ClassValidator"/>. The ctor is public only for test scope.
|
1177
|
+
</remarks>
|
1178
|
+
</member>
|
1179
|
+
<member name="T:NHibernate.Validator.Engine.IPersistentClassConstraint">
|
1180
|
+
<summary>
|
1181
|
+
Interface implemented by the validator
|
1182
|
+
when a constraint may be represented in the
|
1183
|
+
hibernate metadata
|
1184
|
+
</summary>
|
1185
|
+
</member>
|
1186
|
+
<member name="M:NHibernate.Validator.Engine.IPersistentClassConstraint.Apply(NHibernate.Mapping.PersistentClass)">
|
1187
|
+
<summary>
|
1188
|
+
Apply the constraint in the hibernate metadata
|
1189
|
+
</summary>
|
1190
|
+
<param name="persistentClass">PersistentClass</param>
|
1191
|
+
</member>
|
1192
|
+
<member name="T:NHibernate.Validator.Engine.ISharedEngineProvider">
|
1193
|
+
<summary>
|
1194
|
+
Contract for Shared Engine Provider
|
1195
|
+
</summary>
|
1196
|
+
<remarks>
|
1197
|
+
The SharedEngineProvider is the service locator for the ValidatorEngine.
|
1198
|
+
More information about why use the Shared Engine Provider are availables in this post :
|
1199
|
+
http://fabiomaulo.blogspot.com/2009/02/diving-in-nhibernatevalidator.html
|
1200
|
+
</remarks>
|
1201
|
+
</member>
|
1202
|
+
<member name="M:NHibernate.Validator.Engine.ISharedEngineProvider.GetEngine">
|
1203
|
+
<summary>
|
1204
|
+
Provide the shared engine instance.
|
1205
|
+
</summary>
|
1206
|
+
<returns>The validator engine.</returns>
|
1207
|
+
</member>
|
1208
|
+
<member name="T:NHibernate.Validator.Engine.JITClassMappingFactory">
|
1209
|
+
<summary>
|
1210
|
+
Just In Time Class Mapping Factory
|
1211
|
+
</summary>
|
1212
|
+
<remarks>
|
1213
|
+
The JITClassMappingFactory work outside the engine configuration.
|
1214
|
+
</remarks>
|
1215
|
+
</member>
|
1216
|
+
<member name="T:NHibernate.Validator.Engine.MultiEntityTypeInspector">
|
1217
|
+
<summary>
|
1218
|
+
Allow multiple <see cref="T:NHibernate.Validator.Engine.IEntityTypeInspector"/> to work just a <see cref="T:NHibernate.Validator.Engine.IEntityTypeInspector"/>.
|
1219
|
+
</summary>
|
1220
|
+
<remarks>
|
1221
|
+
The <see cref="T:NHibernate.Validator.Engine.MultiEntityTypeInspector"/> iterate a list of <see cref="T:NHibernate.Validator.Engine.IEntityTypeInspector"/>
|
1222
|
+
for the first position to the last and return the first match.
|
1223
|
+
</remarks>
|
1224
|
+
</member>
|
1225
|
+
<member name="T:NHibernate.Validator.Engine.ReferenceEqualityComparer">
|
1226
|
+
<summary>
|
1227
|
+
<see cref="T:System.Collections.IEqualityComparer"/> used to prevent circular state validation.
|
1228
|
+
</summary>
|
1229
|
+
<remarks>
|
1230
|
+
The equality of two instances if done by Reference instead use the possible override of each element.
|
1231
|
+
The same for hash-code.
|
1232
|
+
</remarks>
|
1233
|
+
</member>
|
1234
|
+
<member name="M:NHibernate.Validator.Engine.StateFullClassValidatorFactory.GetRootValidator(System.Type)">
|
1235
|
+
<summary>
|
1236
|
+
Get the validator for a type. If doesn't exists, will create one, add to the engine and return it.
|
1237
|
+
</summary>
|
1238
|
+
<param name="type">Type for the validator</param>
|
1239
|
+
<returns>Validator encountered or created-and-added.</returns>
|
1240
|
+
</member>
|
1241
|
+
<member name="T:NHibernate.Validator.Engine.ValidatableElement">
|
1242
|
+
<summary>
|
1243
|
+
The element of an validation.
|
1244
|
+
</summary>
|
1245
|
+
</member>
|
1246
|
+
<member name="M:NHibernate.Validator.Engine.ValidatableElement.#ctor(System.Type,NHibernate.Validator.Engine.IClassValidator)">
|
1247
|
+
<summary>
|
1248
|
+
Create a new instance of <see cref="T:NHibernate.Validator.Engine.ValidatableElement"/> for a root element.
|
1249
|
+
</summary>
|
1250
|
+
<param name="entityType">The type of the entity.</param>
|
1251
|
+
<param name="validator">The validator.</param>
|
1252
|
+
<remarks>
|
1253
|
+
The root element is the entity it self.
|
1254
|
+
</remarks>
|
1255
|
+
</member>
|
1256
|
+
<member name="M:NHibernate.Validator.Engine.ValidatableElement.#ctor(System.Type,NHibernate.Validator.Engine.IClassValidator,NHibernate.Properties.IGetter)">
|
1257
|
+
<summary>
|
1258
|
+
Create a new instance of <see cref="T:NHibernate.Validator.Engine.ValidatableElement"/> for a composite element.
|
1259
|
+
</summary>
|
1260
|
+
<param name="entityType">The type of the composite element.</param>
|
1261
|
+
<param name="validator">The validator of the composite element.</param>
|
1262
|
+
<param name="getter">The getter of the composite element inside the root entity.</param>
|
1263
|
+
</member>
|
1264
|
+
<member name="M:NHibernate.Validator.Engine.ValidatableElement.AddSubElement(NHibernate.Validator.Engine.ValidatableElement)">
|
1265
|
+
<summary>
|
1266
|
+
Add a <see cref="T:NHibernate.Validator.Engine.ValidatableElement"/>.
|
1267
|
+
</summary>
|
1268
|
+
<param name="subValidatableElement">The sub element</param>
|
1269
|
+
<seealso cref="M:NHibernate.Validator.Engine.ValidatableElement.#ctor(System.Type,NHibernate.Validator.Engine.IClassValidator,NHibernate.Properties.IGetter)"/>
|
1270
|
+
<seealso cref="P:NHibernate.Validator.Engine.ValidatableElement.SubElements"/>
|
1271
|
+
</member>
|
1272
|
+
<member name="P:NHibernate.Validator.Engine.ValidatableElement.EntityType">
|
1273
|
+
<summary>
|
1274
|
+
The type of the entity
|
1275
|
+
</summary>
|
1276
|
+
</member>
|
1277
|
+
<member name="P:NHibernate.Validator.Engine.ValidatableElement.Validator">
|
1278
|
+
<summary>
|
1279
|
+
The validator of the <see cref="P:NHibernate.Validator.Engine.ValidatableElement.EntityType"/>.
|
1280
|
+
</summary>
|
1281
|
+
</member>
|
1282
|
+
<member name="P:NHibernate.Validator.Engine.ValidatableElement.Getter">
|
1283
|
+
<summary>
|
1284
|
+
The getter of the composite element inside the root entity.
|
1285
|
+
</summary>
|
1286
|
+
</member>
|
1287
|
+
<member name="P:NHibernate.Validator.Engine.ValidatableElement.SubElements">
|
1288
|
+
<summary>
|
1289
|
+
Composite Elements.
|
1290
|
+
</summary>
|
1291
|
+
</member>
|
1292
|
+
<member name="P:NHibernate.Validator.Engine.ValidatableElement.HasSubElements">
|
1293
|
+
<summary>
|
1294
|
+
Has SubElements ?
|
1295
|
+
</summary>
|
1296
|
+
</member>
|
1297
|
+
<member name="M:NHibernate.Validator.Engine.ValidatorClassAttribute.#ctor(System.String)">
|
1298
|
+
<summary>
|
1299
|
+
In order to point to a validator in other assembly.
|
1300
|
+
<code>
|
1301
|
+
<example>
|
1302
|
+
</example>
|
1303
|
+
</code>
|
1304
|
+
</summary>
|
1305
|
+
<param name="fullAssemblyQualifyName"></param>
|
1306
|
+
</member>
|
1307
|
+
<member name="T:NHibernate.Validator.Engine.ValidatorEngine">
|
1308
|
+
<summary>
|
1309
|
+
The engine of NHibernate Validator
|
1310
|
+
</summary>
|
1311
|
+
<remarks>
|
1312
|
+
The engine is the easy way to work with NHibernate.Validator.
|
1313
|
+
It hold all class validators.
|
1314
|
+
Usually an application will create a single <see cref="T:NHibernate.Validator.Engine.ValidatorEngine"/>.
|
1315
|
+
</remarks>
|
1316
|
+
<seealso cref="T:NHibernate.Validator.Cfg.Environment"/>
|
1317
|
+
<seealso cref="T:NHibernate.Validator.Engine.ISharedEngineProvider"/>.
|
1318
|
+
</member>
|
1319
|
+
<member name="M:NHibernate.Validator.Engine.ValidatorEngine.Configure">
|
1320
|
+
<summary>
|
1321
|
+
Configure NHibernate.Validator using the <c><nhv-configuration></c> section
|
1322
|
+
from the application config file, if found, or the file <c>nhvalidator.cfg.xml</c> if the
|
1323
|
+
<c><nhv-configuration></c> section not include the session-factory configuration.
|
1324
|
+
If both are found merge the two configuration.
|
1325
|
+
</summary>
|
1326
|
+
<remarks>
|
1327
|
+
To configure NHibernate explicitly using <c>nhvalidator.cfg.xml</c>, appling merge/override
|
1328
|
+
of the application configuration file, use this code:
|
1329
|
+
<code>
|
1330
|
+
configuration.Configure("path/to/nhvalidator.cfg.xml");
|
1331
|
+
</code>
|
1332
|
+
</remarks>
|
1333
|
+
</member>
|
1334
|
+
<member name="M:NHibernate.Validator.Engine.ValidatorEngine.Configure(System.String)">
|
1335
|
+
<summary>
|
1336
|
+
Configure NHibernate.Validator using the file specified.
|
1337
|
+
</summary>
|
1338
|
+
<param name="configFilePath">The location of the XML file to use to configure NHibernate.Validator.</param>
|
1339
|
+
<remarks>
|
1340
|
+
Calling Configure(string) will override/merge the values set in app.config or web.config
|
1341
|
+
</remarks>
|
1342
|
+
</member>
|
1343
|
+
<member name="M:NHibernate.Validator.Engine.ValidatorEngine.Configure(System.Xml.XmlReader)">
|
1344
|
+
<summary>
|
1345
|
+
Configure NHibernate.Validator using the specified <see cref="T:System.Xml.XmlReader"/>.
|
1346
|
+
</summary>
|
1347
|
+
<param name="configReader">The <see cref="T:System.Xml.XmlReader"/> that contains the Xml to configure NHibernate.Validator.</param>
|
1348
|
+
<remarks>
|
1349
|
+
Calling Configure(XmlReader) will overwrite the values set in app.config or web.config
|
1350
|
+
</remarks>
|
1351
|
+
</member>
|
1352
|
+
<member name="M:NHibernate.Validator.Engine.ValidatorEngine.Configure(NHibernate.Validator.Cfg.INHVConfiguration)">
|
1353
|
+
<summary>
|
1354
|
+
Configure NHibernate.Validator using the specified <see cref="T:NHibernate.Validator.Cfg.INHVConfiguration"/>.
|
1355
|
+
</summary>
|
1356
|
+
<param name="config">The <see cref="T:NHibernate.Validator.Cfg.INHVConfiguration"/> that is the configuration reader to configure NHibernate.Validator.</param>
|
1357
|
+
<remarks>
|
1358
|
+
Calling Configure(INHVConfiguration) will overwrite the values set in app.config or web.config.
|
1359
|
+
<para>
|
1360
|
+
You can use this overload is you are working with Attributes or Xml-files.
|
1361
|
+
</para>
|
1362
|
+
</remarks>
|
1363
|
+
</member>
|
1364
|
+
<member name="M:NHibernate.Validator.Engine.ValidatorEngine.Configure(NHibernate.Validator.Cfg.INHVConfiguration,NHibernate.Validator.Cfg.IMappingLoader)">
|
1365
|
+
<summary>
|
1366
|
+
Configure NHibernate.Validator using the specified <see cref="T:NHibernate.Validator.Cfg.INHVConfiguration"/>.
|
1367
|
+
</summary>
|
1368
|
+
<param name="config">The <see cref="T:NHibernate.Validator.Cfg.INHVConfiguration"/> that is the configuration reader to configure NHibernate.Validator.</param>
|
1369
|
+
<param name="mappingLoader">The <see cref="T:NHibernate.Validator.Cfg.XmlMappingLoader"/> instance.</param>
|
1370
|
+
<remarks>
|
1371
|
+
Calling Configure(INHVConfiguration) will overwrite the values set in app.config or web.config
|
1372
|
+
</remarks>
|
1373
|
+
</member>
|
1374
|
+
<member name="M:NHibernate.Validator.Engine.ValidatorEngine.Validate(System.Object,System.Object[])">
|
1375
|
+
<summary>
|
1376
|
+
Apply constraints/rules on a entity instance.
|
1377
|
+
</summary>
|
1378
|
+
<param name="entity">The entity instance to validate</param>
|
1379
|
+
<param name="activeTags">Tags included in the validation.</param>
|
1380
|
+
<returns>All the failures or an empty array if <paramref name="entity"/> is null.</returns>
|
1381
|
+
<remarks>
|
1382
|
+
If the <see cref="T:System.Type"/> of the <paramref name="entity"/> was never inspected, or
|
1383
|
+
it was not configured, the <see cref="T:NHibernate.Validator.Engine.IClassValidator"/> will be automatic added to the engine.
|
1384
|
+
</remarks>
|
1385
|
+
</member>
|
1386
|
+
<member name="M:NHibernate.Validator.Engine.ValidatorEngine.IsValid(System.Object,System.Object[])">
|
1387
|
+
<summary>
|
1388
|
+
Apply constraints/rules on a entity instance.
|
1389
|
+
</summary>
|
1390
|
+
<param name="entity">The entity instance to validate</param>
|
1391
|
+
<param name="activeTags">Tags included in the validation.</param>
|
1392
|
+
<returns>
|
1393
|
+
False if there is one or more the failures; True otherwise (including when <paramref name="entity"/> is null).
|
1394
|
+
</returns>
|
1395
|
+
<remarks>
|
1396
|
+
If the <see cref="T:System.Type"/> of the <paramref name="entity"/> was never inspected, or
|
1397
|
+
it was not configured, the <see cref="T:NHibernate.Validator.Engine.IClassValidator"/> will be automatic added to the engine.
|
1398
|
+
</remarks>
|
1399
|
+
</member>
|
1400
|
+
<member name="M:NHibernate.Validator.Engine.ValidatorEngine.AssertValid(System.Object)">
|
1401
|
+
<summary>
|
1402
|
+
Assert a valid entity.
|
1403
|
+
</summary>
|
1404
|
+
<param name="entity">The entity instance to validate</param>
|
1405
|
+
<exception cref="T:NHibernate.Validator.Exceptions.InvalidStateException">when <paramref name="entity"/> have an invalid state.</exception>
|
1406
|
+
<remarks>
|
1407
|
+
If the <see cref="T:System.Type"/> of the <paramref name="entity"/> was never inspected, or
|
1408
|
+
it was not configured, the <see cref="T:NHibernate.Validator.Engine.IClassValidator"/> will be automatic added to the engine.
|
1409
|
+
</remarks>
|
1410
|
+
</member>
|
1411
|
+
<member name="M:NHibernate.Validator.Engine.ValidatorEngine.ValidatePropertyValue``1(System.String,System.Object,System.Object[])">
|
1412
|
+
<summary>
|
1413
|
+
Use the <see cref="M:NHibernate.Validator.Engine.ClassValidator.GetPotentialInvalidValues(System.String,System.Object)"/> for a given <see cref="T:System.Type"/>.
|
1414
|
+
</summary>
|
1415
|
+
<typeparam name="T">The entity type</typeparam>
|
1416
|
+
<param name="propertyName">The name of a property</param>
|
1417
|
+
<param name="value">The value of the property.</param>
|
1418
|
+
<param name="activeTags">Tags included in the validation.</param>
|
1419
|
+
<returns>All the invalid values.</returns>
|
1420
|
+
<remarks>
|
1421
|
+
If the <typeparamref name="T"/> was never inspected, or
|
1422
|
+
it was not configured, the <see cref="T:NHibernate.Validator.Engine.IClassValidator"/> will be automatic added to the engine.
|
1423
|
+
</remarks>
|
1424
|
+
</member>
|
1425
|
+
<member name="M:NHibernate.Validator.Engine.ValidatorEngine.ValidatePropertyValue``2(System.Linq.Expressions.Expression{System.Func{``0,``1}},``1,System.Object[])">
|
1426
|
+
<summary>
|
1427
|
+
Use the <see cref="M:NHibernate.Validator.Engine.ClassValidator.GetPotentialInvalidValues(System.String,System.Object)"/> for a given <see cref="T:System.Type"/>.
|
1428
|
+
</summary>
|
1429
|
+
<typeparam name="TEntity">The entity type</typeparam>
|
1430
|
+
<typeparam name="TProperty">The property type.</typeparam>
|
1431
|
+
<param name="expression">The lamda expression of the property getter.</param>
|
1432
|
+
<param name="value">The potencial value of the property.</param>
|
1433
|
+
<param name="activeTags">Tags included in the validation.</param>
|
1434
|
+
<remarks>
|
1435
|
+
If the <typeparamref name="TEntity"/> was never inspected, or
|
1436
|
+
it was not configured, the <see cref="T:NHibernate.Validator.Engine.IClassValidator"/> will be automatic added to the engine.
|
1437
|
+
</remarks>
|
1438
|
+
</member>
|
1439
|
+
<member name="M:NHibernate.Validator.Engine.ValidatorEngine.ValidatePropertyValue(System.Object,System.String,System.Object[])">
|
1440
|
+
<summary>
|
1441
|
+
Use the <see cref="M:NHibernate.Validator.Engine.ClassValidator.GetPotentialInvalidValues(System.String,System.Object)"/> for a given entity instance.
|
1442
|
+
</summary>
|
1443
|
+
<param name="entity">The entity instance to validate</param>
|
1444
|
+
<param name="propertyName">The name of a property</param>
|
1445
|
+
<param name="activeTags">Tags included in the validation.</param>
|
1446
|
+
<returns>All the invalid values.</returns>
|
1447
|
+
<remarks>
|
1448
|
+
If the <see cref="T:System.Type"/> of the <paramref name="entity"/> was never inspected, or
|
1449
|
+
it was not configured, the <see cref="T:NHibernate.Validator.Engine.IClassValidator"/> will be automatic added to the engine.
|
1450
|
+
</remarks>
|
1451
|
+
</member>
|
1452
|
+
<member name="M:NHibernate.Validator.Engine.ValidatorEngine.ValidatePropertyValue(System.Type,System.String,System.Object,System.Object[])">
|
1453
|
+
<summary>
|
1454
|
+
Use the <see cref="M:NHibernate.Validator.Engine.ClassValidator.GetPotentialInvalidValues(System.String,System.Object)"/> for a given entity instance.
|
1455
|
+
</summary>
|
1456
|
+
<param name="entityType">The entity instance to validate</param>
|
1457
|
+
<param name="propertyName">The name of a property</param>
|
1458
|
+
<param name="value">The value of the property.</param>
|
1459
|
+
<param name="activeTags">Tags included in the validation.</param>
|
1460
|
+
<returns>All the invalid values.</returns>
|
1461
|
+
</member>
|
1462
|
+
<member name="M:NHibernate.Validator.Engine.ValidatorEngine.AddValidator``1">
|
1463
|
+
<summary>
|
1464
|
+
Add a validator to the engine or override existing one.
|
1465
|
+
</summary>
|
1466
|
+
<typeparam name="T">The type of an entity.</typeparam>
|
1467
|
+
<remarks>
|
1468
|
+
Create an istance of <see cref="T:NHibernate.Validator.Engine.IClassValidator"/> for the given <typeparamref name="T"/>.
|
1469
|
+
</remarks>
|
1470
|
+
</member>
|
1471
|
+
<member name="M:NHibernate.Validator.Engine.ValidatorEngine.AddValidator``1(NHibernate.Validator.Engine.IValidatableSubElementsInspector)">
|
1472
|
+
<summary>
|
1473
|
+
Add a validator to the engine or override existing one.
|
1474
|
+
</summary>
|
1475
|
+
<typeparam name="T">The type of an entity.</typeparam>
|
1476
|
+
<param name="inspector">Inspector for sub-elements</param>
|
1477
|
+
</member>
|
1478
|
+
<member name="M:NHibernate.Validator.Engine.ValidatorEngine.GetValidator``1">
|
1479
|
+
<summary>
|
1480
|
+
Gets an acquaintance <see cref="T:NHibernate.Validator.Engine.IClassValidator"/>.
|
1481
|
+
</summary>
|
1482
|
+
<typeparam name="T">The type of an entity.</typeparam>
|
1483
|
+
<returns>A acquaintance <see cref="T:NHibernate.Validator.Engine.IClassValidator"/> for the give type
|
1484
|
+
or null if the the <typeparamref name="T"/> was never used in the engine instance.</returns>
|
1485
|
+
</member>
|
1486
|
+
<member name="M:NHibernate.Validator.Engine.ValidatorEngine.GetClassValidator(System.Type)">
|
1487
|
+
<summary>
|
1488
|
+
Gets a <see cref="T:NHibernate.Validator.Engine.IClassValidator"/> for a given <see cref="T:System.Type"/>
|
1489
|
+
</summary>
|
1490
|
+
<param name="entityType">The given <see cref="T:System.Type"/>.</param>
|
1491
|
+
<returns>
|
1492
|
+
A validator for a <see cref="T:System.Type"/> or null if the <paramref name="entityType"/>
|
1493
|
+
is not supported by <see cref="T:NHibernate.Validator.Engine.ClassValidator"/>.
|
1494
|
+
</returns>
|
1495
|
+
<remarks>
|
1496
|
+
In general a common application don't need to use this method but it can be useful for some kind of framework.
|
1497
|
+
</remarks>
|
1498
|
+
</member>
|
1499
|
+
<member name="P:NHibernate.Validator.Engine.ValidatorEngine.Interpolator">
|
1500
|
+
<summary>
|
1501
|
+
Default MessageInterpolator
|
1502
|
+
</summary>
|
1503
|
+
</member>
|
1504
|
+
<member name="P:NHibernate.Validator.Engine.ValidatorEngine.DefaultMode">
|
1505
|
+
<summary>
|
1506
|
+
Default Mode to construct validators
|
1507
|
+
</summary>
|
1508
|
+
</member>
|
1509
|
+
<member name="P:NHibernate.Validator.Engine.ValidatorEngine.ApplyToDDL">
|
1510
|
+
<summary>
|
1511
|
+
Database schema-level validation enabled
|
1512
|
+
</summary>
|
1513
|
+
</member>
|
1514
|
+
<member name="P:NHibernate.Validator.Engine.ValidatorEngine.AutoRegisterListeners">
|
1515
|
+
<summary>
|
1516
|
+
NHibernate event-based validation
|
1517
|
+
</summary>
|
1518
|
+
</member>
|
1519
|
+
<member name="T:NHibernate.Validator.Engine.ValidatorMode">
|
1520
|
+
<summary>
|
1521
|
+
Define how to investigate validators of a class.
|
1522
|
+
</summary>
|
1523
|
+
</member>
|
1524
|
+
<member name="F:NHibernate.Validator.Engine.ValidatorMode.UseAttribute">
|
1525
|
+
<summary>
|
1526
|
+
Validators are discovered, by reflection, only investigating the class attributes
|
1527
|
+
</summary>
|
1528
|
+
</member>
|
1529
|
+
<member name="F:NHibernate.Validator.Engine.ValidatorMode.UseExternal">
|
1530
|
+
<summary>
|
1531
|
+
Validator are discovered only parsing the xml of the class
|
1532
|
+
</summary>
|
1533
|
+
</member>
|
1534
|
+
<member name="F:NHibernate.Validator.Engine.ValidatorMode.OverrideAttributeWithExternal">
|
1535
|
+
<summary>
|
1536
|
+
Validators are discovered, by reflection, investigating the class attributes
|
1537
|
+
and then using the xml(or any other external source), merging both.
|
1538
|
+
Conflicts are solved using xml-configuration over attribute-configuration.
|
1539
|
+
</summary>
|
1540
|
+
</member>
|
1541
|
+
<member name="F:NHibernate.Validator.Engine.ValidatorMode.OverrideExternalWithAttribute">
|
1542
|
+
<summary>
|
1543
|
+
Validators are discovered, by reflection, investigating the class attributes
|
1544
|
+
and then using the xml(or any other external source), merging both.
|
1545
|
+
Conflicts are solved using attribute-configuration over xml-configuration.
|
1546
|
+
</summary>
|
1547
|
+
</member>
|
1548
|
+
<member name="T:NHibernate.Validator.Event.ValidateEventListener">
|
1549
|
+
<summary>
|
1550
|
+
Common environment for insert and update NH event listeners
|
1551
|
+
</summary>
|
1552
|
+
</member>
|
1553
|
+
<member name="T:NHibernate.Validator.Event.ValidatePreInsertEventListener">
|
1554
|
+
<summary>
|
1555
|
+
Before insert, executes the validator framework
|
1556
|
+
</summary>
|
1557
|
+
<remarks>
|
1558
|
+
Because, usually, we validate on insert and on update we are
|
1559
|
+
using the same environment for PreInsert and PreUpdate event listeners,
|
1560
|
+
the initialization of the environment (the ValidatorEngine) was or will be done in
|
1561
|
+
ValidatePreInsertEventListener by NH.
|
1562
|
+
This give us better performance on NH startup.
|
1563
|
+
</remarks>
|
1564
|
+
</member>
|
1565
|
+
<member name="M:NHibernate.Validator.Event.ValidatePreInsertEventListener.Initialize(NHibernate.Cfg.Configuration)">
|
1566
|
+
<summary>
|
1567
|
+
Initialize the validators, any non significant validators are not kept
|
1568
|
+
</summary>
|
1569
|
+
<param name="cfg"></param>
|
1570
|
+
</member>
|
1571
|
+
<member name="T:NHibernate.Validator.Event.ValidatePreUpdateEventListener">
|
1572
|
+
<summary>
|
1573
|
+
Before update, executes the validator framework
|
1574
|
+
</summary>
|
1575
|
+
<remarks>
|
1576
|
+
Because, usually, we validate on insert and on update we are
|
1577
|
+
using the same environment for PreInsert and PreUpdate event listeners,
|
1578
|
+
the initialization of the environment (the ValidatorEngine) was or will be done in
|
1579
|
+
ValidatePreInsertEventListener by NH.
|
1580
|
+
This give us better performance on NH startup.
|
1581
|
+
</remarks>
|
1582
|
+
</member>
|
1583
|
+
<member name="T:NHibernate.Validator.Exceptions.AssertionFailureException">
|
1584
|
+
<summary>
|
1585
|
+
Indicates failure of an assertion: a possible bug in NHibernate.Validator
|
1586
|
+
</summary>
|
1587
|
+
</member>
|
1588
|
+
<member name="M:NHibernate.Validator.Exceptions.AssertionFailureException.#ctor">
|
1589
|
+
<summary>
|
1590
|
+
Initializes a new instance of the <see cref="T:NHibernate.Validator.Exceptions.AssertionFailureException"/> class.
|
1591
|
+
</summary>
|
1592
|
+
</member>
|
1593
|
+
<member name="M:NHibernate.Validator.Exceptions.AssertionFailureException.#ctor(System.String)">
|
1594
|
+
<summary>
|
1595
|
+
Initializes a new instance of the <see cref="T:NHibernate.Validator.Exceptions.AssertionFailureException"/> class.
|
1596
|
+
</summary>
|
1597
|
+
<param name="message">The message that describes the error. </param>
|
1598
|
+
</member>
|
1599
|
+
<member name="M:NHibernate.Validator.Exceptions.AssertionFailureException.#ctor(System.String,System.Exception)">
|
1600
|
+
<summary>
|
1601
|
+
Initializes a new instance of the <see cref="T:NHibernate.Validator.Exceptions.AssertionFailureException"/> class.
|
1602
|
+
</summary>
|
1603
|
+
<param name="message">The message that describes the error. </param>
|
1604
|
+
<param name="innerException">
|
1605
|
+
The exception that is the cause of the current exception. If the innerException parameter
|
1606
|
+
is not a null reference, the current exception is raised in a catch block that handles
|
1607
|
+
the inner exception.
|
1608
|
+
</param>
|
1609
|
+
</member>
|
1610
|
+
<member name="M:NHibernate.Validator.Exceptions.AssertionFailureException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
1611
|
+
<summary>
|
1612
|
+
Initializes a new instance of the <see cref="T:NHibernate.Validator.Exceptions.AssertionFailureException"/> class.
|
1613
|
+
</summary>
|
1614
|
+
<param name="info">
|
1615
|
+
The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object
|
1616
|
+
data about the exception being thrown.
|
1617
|
+
</param>
|
1618
|
+
<param name="context">
|
1619
|
+
The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.
|
1620
|
+
</param>
|
1621
|
+
</member>
|
1622
|
+
<member name="M:NHibernate.Validator.Interpolator.DefaultMessageInterpolator.GetAttributeOrResourceValue(System.String)">
|
1623
|
+
<summary>
|
1624
|
+
Get the value of an Attribute's property or the value in the resource for a given key.
|
1625
|
+
</summary>
|
1626
|
+
<param name="token">The property-name of the attribute or key to find in the resources.</param>
|
1627
|
+
<returns>The string in the resource or null where not found.</returns>
|
1628
|
+
</member>
|
1629
|
+
<member name="M:NHibernate.Validator.Interpolator.DefaultMessageInterpolator.GetPropertyValue(System.Object,System.String)">
|
1630
|
+
<summary>
|
1631
|
+
Override this method to obtain flexibility.
|
1632
|
+
The default interpolator can replace the message with public property values.
|
1633
|
+
</summary>
|
1634
|
+
<param name="entity">Entity or value</param>
|
1635
|
+
<param name="propertyName">Property name to be used.</param>
|
1636
|
+
<returns>The value of the property</returns>
|
1637
|
+
</member>
|
1638
|
+
<member name="T:NHibernate.Validator.Util.AttributeUtils">
|
1639
|
+
<summary>
|
1640
|
+
Utils metods for attributes
|
1641
|
+
</summary>
|
1642
|
+
</member>
|
1643
|
+
<member name="M:NHibernate.Validator.Util.AttributeUtils.AttributeAllowsMultiple(System.Attribute)">
|
1644
|
+
<summary>
|
1645
|
+
Returns true if the attribute can be declared more than one time for the same element
|
1646
|
+
</summary>
|
1647
|
+
<param name="attribute"></param>
|
1648
|
+
<returns></returns>
|
1649
|
+
</member>
|
1650
|
+
<member name="T:NHibernate.Validator.Util.TypeUtils">
|
1651
|
+
<summary>
|
1652
|
+
Utils methods for type issues.
|
1653
|
+
</summary>
|
1654
|
+
</member>
|
1655
|
+
<member name="M:NHibernate.Validator.Util.TypeUtils.GetGenericTypesOfDictionary(System.Reflection.MemberInfo)">
|
1656
|
+
<summary>
|
1657
|
+
Get the Generic Arguments of a <see cref="T:System.Collections.Generic.IDictionary`2"/>
|
1658
|
+
</summary>
|
1659
|
+
<param name="member"></param>
|
1660
|
+
<returns></returns>
|
1661
|
+
</member>
|
1662
|
+
<member name="M:NHibernate.Validator.Util.TypeUtils.GetTypeOfMember(System.Reflection.MemberInfo)">
|
1663
|
+
<summary>
|
1664
|
+
Get the type of the a Field or Property.
|
1665
|
+
If is a: Generic Collection or a Array, return the type of the elements.
|
1666
|
+
</summary>
|
1667
|
+
<param name="member">MemberInfo, represent a property or field</param>
|
1668
|
+
<returns>type of the member or collection member</returns>
|
1669
|
+
</member>
|
1670
|
+
<member name="M:NHibernate.Validator.Util.TypeUtils.IsEnumerable(System.Type)">
|
1671
|
+
<summary>
|
1672
|
+
Indicates if a <see cref="N:NHibernate.Type"/> is <see cref="T:System.Collections.IEnumerable"/>
|
1673
|
+
</summary>
|
1674
|
+
<param name="clazz"></param>
|
1675
|
+
<returns>is enumerable or not</returns>
|
1676
|
+
</member>
|
1677
|
+
<member name="M:NHibernate.Validator.Util.TypeUtils.GetType(System.Reflection.MemberInfo)">
|
1678
|
+
<summary>
|
1679
|
+
Get the <see cref="N:NHibernate.Type"/> of a <see cref="T:System.Reflection.MemberInfo"/>.
|
1680
|
+
</summary>
|
1681
|
+
<param name="member"></param>
|
1682
|
+
<returns></returns>
|
1683
|
+
</member>
|
1684
|
+
<member name="M:NHibernate.Validator.Util.TypeUtils.GetMemberValue(System.Object,System.Reflection.MemberInfo)">
|
1685
|
+
<summary>
|
1686
|
+
Get the value of some Property or Field.
|
1687
|
+
</summary>
|
1688
|
+
<param name="entity"></param>
|
1689
|
+
<param name="member"></param>
|
1690
|
+
<returns></returns>
|
1691
|
+
</member>
|
1692
|
+
</members>
|
1693
|
+
</doc>
|