Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Starting to restructure the project to move from dependencies on a lo…

…t of separate projects
  • Loading branch information...
commit cd3e2ccef6700886241ac5fc2901870681334d98 1 parent c502df0
@ayende ayende authored
Showing with 110,769 additions and 469 deletions.
  1. +0 −22 Default.build
  2. +0 −30 Rhino.Security.ActiveRecord/RegisterRhinoSecurityMappingAttribute.cs
  3. +0 −34 Rhino.Security.ActiveRecord/RegisterRhinoSecurityModels.cs
  4. +0 −83 Rhino.Security.ActiveRecord/Rhino.Security.ActiveRecord.csproj
  5. +0 −18 Rhino.Security.ActiveRecord/RhinoSecurity.cs
  6. +0 −49 Rhino.Security.ActiveRecord/default.build
  7. +0 −60 Rhino.Security.Tests/default.build
  8. +0 −125 Rhino.Security.sln
  9. +0 −48 Rhino.Security/default.build
  10. BIN  SharedLibs/Antlr3.Runtime.dll
  11. BIN  SharedLibs/Castle.Core.dll
  12. +3,197 −0 SharedLibs/Castle.Core.xml
  13. +13 −0 SharedLibs/Castle.DynamicProxy.license.txt
  14. BIN  SharedLibs/Castle.DynamicProxy2.dll
  15. +1,249 −0 SharedLibs/Castle.DynamicProxy2.xml
  16. BIN  SharedLibs/Iesi.Collections.dll
  17. +1,903 −0 SharedLibs/Iesi.Collections.xml
  18. +280 −0 SharedLibs/Microsoft.Practices.ServiceLocation.XML
  19. BIN  SharedLibs/Microsoft.Practices.ServiceLocation.dll
  20. BIN  SharedLibs/Microsoft.Practices.ServiceLocation.pdb
  21. BIN  SharedLibs/NHibernate.ByteCode.Castle.dll
  22. +40 −0 SharedLibs/NHibernate.ByteCode.Castle.xml
  23. BIN  SharedLibs/NHibernate.Validator.Tests.dll
  24. BIN  SharedLibs/NHibernate.Validator.dll
  25. +1,435 −0 SharedLibs/NHibernate.Validator.xml
  26. BIN  SharedLibs/NHibernate.dll
  27. +40,436 −0 SharedLibs/NHibernate.xml
  28. BIN  SharedLibs/log4net.dll
  29. +201 −0 SharedLibs/log4net.license.txt
  30. +28,655 −0 SharedLibs/log4net.xml
  31. +215 −0 SharedLibs/nhibernate-configuration.xsd
  32. +1,690 −0 SharedLibs/nhibernate-mapping.xsd
  33. BIN  Tools/ILMerge.exe
  34. BIN  Tools/MbUnit/Aggregate.dll
  35. BIN  Tools/MbUnit/Aggregate.pdb
  36. BIN  Tools/MbUnit/MbUnit.AddIn.dll
  37. BIN  Tools/MbUnit/MbUnit.Cons.exe
  38. +12 −0 Tools/MbUnit/MbUnit.Cons.exe.config
  39. BIN  Tools/MbUnit/MbUnit.Demo.1.1.dll
  40. +20 −0 Tools/MbUnit/MbUnit.Framework.1.1.XML
  41. BIN  Tools/MbUnit/MbUnit.Framework.1.1.dll
  42. BIN  Tools/MbUnit/MbUnit.Framework.2.0.dll
  43. +10,995 −0 Tools/MbUnit/MbUnit.Framework.XML
  44. BIN  Tools/MbUnit/MbUnit.Framework.dll
  45. BIN  Tools/MbUnit/MbUnit.GUI.exe
  46. +14 −0 Tools/MbUnit/MbUnit.GUI.exe.config
  47. BIN  Tools/MbUnit/MbUnit.MSBuild.Tasks.dll
  48. BIN  Tools/MbUnit/MbUnit.Tasks.dll
  49. BIN  Tools/MbUnit/MbUnit.Tests.1.1.dll
  50. BIN  Tools/MbUnit/NAnt.Core.dll
  51. +14,462 −0 Tools/MbUnit/NAnt.Core.xml
  52. BIN  Tools/MbUnit/NGraphviz.Helpers.dll
  53. BIN  Tools/MbUnit/NGraphviz.Layout.dll
  54. BIN  Tools/MbUnit/NGraphviz.dll
  55. BIN  Tools/MbUnit/QuickGraph.Algorithms.Graphviz.dll
  56. BIN  Tools/MbUnit/QuickGraph.Algorithms.dll
  57. BIN  Tools/MbUnit/QuickGraph.dll
  58. BIN  Tools/MbUnit/Refly.dll
  59. BIN  Tools/MbUnit/TestDriven.Framework.dll
  60. +5,483 −0 Tools/MbUnit/TestFu.XML
  61. BIN  Tools/MbUnit/TestFu.dll
  62. BIN  Tools/MbUnit/XsdTidy.exe
  63. BIN  Tools/MbUnit/log4net.dll
  64. BIN  Tools/MbUnit/uninst.exe
  65. +6 −0 Tools/MbUnit/users.txt
  66. BIN  Tools/zip.exe
  67. +1 −0  acknowledgements.txt
  68. BIN  ayende-open-source.snk
  69. +86 −0 default.ps1
  70. +25 −0 license.txt
  71. +311 −0 psake.ps1
  72. +40 −0 psake_ext.ps1
View
22 Default.build
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding='iso-8859-1' ?>
-<project
- name="rhino-security"
- default="build"
- xmlns="http://nant.sf.net/release/0.85/nant.xsd"
- >
-
- <property name="root.dir" value=".." />
- <include buildfile="${root.dir}/common-project.xml" />
-
- <fileset id="buildfiles.all">
- <!-- Files have to be in dependency order -->
- <include name="Rhino.Security/default.build" />
- <include name="Rhino.Security.ActiveRecord/default.build" />
- <include name="Rhino.Security.Tests/default.build" if="${common.testrunner.enabled}"/>
- </fileset>
-
- <target name="build" depends="common.build" />
-
- <target name="generate-assemblyinfo" depends="common.assemblyinfo" />
-
-</project>
View
30 Rhino.Security.ActiveRecord/RegisterRhinoSecurityMappingAttribute.cs
@@ -1,30 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using Castle.ActiveRecord;
-using Castle.ActiveRecord.Framework.Internal;
-using Rhino.Security.ActiveRecord;
-
-[assembly: RegisterRhinoSecurityMapping]
-
-namespace Rhino.Security.ActiveRecord
-{
- public class RegisterRhinoSecurityMappingAttribute : RawXmlMappingAttribute
- {
- public override string[] GetMappings()
- {
- List<string> mapping = new List<string>();
- ActiveRecordModelBuilder builder = new ActiveRecordModelBuilder();
- foreach (Type type in RhinoSecurity.Entities)
- {
- builder.CreateDummyModelFor(type);
- Stream stream = type.Assembly.GetManifestResourceStream(type.FullName+".hbm.xml");
- if (stream == null)
- continue;
- using (StreamReader reader = new StreamReader(stream))
- mapping.Add(reader.ReadToEnd());
- }
- return mapping.ToArray();
- }
- }
-}
View
34 Rhino.Security.ActiveRecord/RegisterRhinoSecurityModels.cs
@@ -1,34 +0,0 @@
-using System;
-using Castle.ActiveRecord;
-using Castle.ActiveRecord.Framework;
-using Castle.ActiveRecord.Framework.Internal;
-using NHibernate;
-using NHibernate.Cfg;
-using Rhino.Commons;
-
-namespace Rhino.Security.ActiveRecord
-{
- public class RegisterRhinoSecurityModels : INHibernateInitializationAware
- {
- private readonly ActiveRecordModelBuilder modelBuilder = new ActiveRecordModelBuilder();
-
- public void BeforeInitialization()
- {
- ActiveRecordStarter.ModelsValidated+=delegate
- {
- foreach (Type type in RhinoSecurity.Entities)
- {
- modelBuilder.CreateDummyModelFor(type);
- }
- };
- }
-
- public void Configured(Configuration cfg)
- {
- }
-
- public void Initialized(Configuration cfg, ISessionFactory sessionFactory)
- {
- }
- }
-}
View
83 Rhino.Security.ActiveRecord/Rhino.Security.ActiveRecord.csproj
@@ -1,83 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>9.0.21022</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{5FCDDA8A-B305-474E-AD27-4DEF6CB042B6}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>Rhino.Security.ActiveRecord</RootNamespace>
- <AssemblyName>Rhino.Security.ActiveRecord</AssemblyName>
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="Castle.ActiveRecord, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\SharedLibs\Castle\Castle.ActiveRecord.dll</HintPath>
- </Reference>
- <Reference Include="Castle.MicroKernel, Version=1.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\SharedLibs\Castle\Castle.MicroKernel.dll</HintPath>
- </Reference>
- <Reference Include="NHibernate, Version=2.0.0.1002, Culture=neutral, PublicKeyToken=aa95f207798dfdb4, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\SharedLibs\NHibernate\NHibernate.dll</HintPath>
- </Reference>
- <Reference Include="System" />
- <Reference Include="System.Core">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Xml.Linq">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data.DataSetExtensions">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="RegisterRhinoSecurityMappingAttribute.cs" />
- <Compile Include="RegisterRhinoSecurityModels.cs" />
- <Compile Include="RhinoSecurity.cs" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\..\rhino-commons\Rhino.Commons.NHibernate\Rhino.Commons.NHibernate-v2008.csproj">
- <Project>{BF4E220E-5AF8-4448-ABA9-981D69AB8775}</Project>
- <Name>Rhino.Commons.NHibernate-v2008</Name>
- </ProjectReference>
- <ProjectReference Include="..\Rhino.Security\Rhino.Security-vs2008.csproj">
- <Project>{DBA372FE-3D52-45B3-AF82-B37696328764}</Project>
- <Name>Rhino.Security-vs2008</Name>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
-</Project>
View
18 Rhino.Security.ActiveRecord/RhinoSecurity.cs
@@ -1,18 +0,0 @@
-using System;
-using Rhino.Security.Model;
-
-namespace Rhino.Security.ActiveRecord
-{
- internal class RhinoSecurity
- {
- internal static Type[] Entities = new Type[]
- {
- typeof (EntitiesGroup),
- typeof (EntityReference),
- typeof (EntityType),
- typeof (Operation),
- typeof (Permission),
- typeof (UsersGroup)
- };
- }
-}
View
49 Rhino.Security.ActiveRecord/default.build
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding='iso-8859-1' ?>
-<project
- name="Rhino.Security.ActiveRecord"
- default="build"
- xmlns="http://nant.sf.net/release/0.85/nant.xsd"
->
- <property name="root.dir" value="../.." />
- <include buildfile="${root.dir}/common-project.xml" />
-
- <target name="init" depends="common.init">
- <property name="assembly.version" value="1.0.0.0" />
- <property name="assembly.description" value="Rhino Security - Security Services for the Model" />
-
- <assemblyfileset id="project.references" basedir="${build.dir}">
- <include name="Boo.Lang.dll"/>
- <include name="Boo.Lang.Extensions.dll"/>
- <include name="Boo.Lang.Compiler.dll"/>
- <include name="Boo.Lang.Parser.dll"/>
- <include name="Castle.Windsor.dll"/>
- <include name="Castle.MicroKernel.dll"/>
- <include name="Castle.Core.dll"/>
- <include name="Castle.Components.Validator.dll"/>
- <include name="Iesi.Collections.dll"/>
- <include name="Castle.ActiveRecord.dll"/>
- <include name="log4net.dll"/>
- <include name="NHibernate.dll"/>
- <include name="Rhino.Dsl.dll"/>
- <include name="Rhino.Commons.Clr.dll"/>
- <include name="Rhino.Commons.dll"/>
- <include name="Rhino.Commons.NHibernate.dll"/>
- <include name="Rhino.Commons.ActiveRecord.dll"/>
- <include name="Rhino.Security.dll"/>
- <include name="System"/>
- </assemblyfileset>
-
-
- <resourcefileset id="project.resources" prefix="Rhino.Security" dynamicprefix="true" basedir="${src.dir}">
- <include name="**/*.txt" />
- <include name="**/*.resx" />
- <exclude name="obj/**" />
- </resourcefileset>
-
- </target>
-
- <target name="generate-assemblyinfo" depends="init common.generate-assemblyinfo" />
-
- <target name="build" description="Build ${project::get-name()}" depends="generate-assemblyinfo common.compile-dll" />
-
-</project>
View
60 Rhino.Security.Tests/default.build
@@ -1,60 +0,0 @@
-<?xml version="1.0" ?>
-
-<project
- name="Rhino.Security.Tests"
- default="test"
- xmlns="http://nant.sf.net/release/0.85/nant.xsd"
->
- <property overwrite="false" name="assembly.is-cls-compliant" value="false" />
- <property name="root.dir" value="../.." />
- <include buildfile="${root.dir}/common-project.xml" />
-
- <target name="init" depends="common.init">
- <assemblyfileset id="project.references" basedir="${build.dir}">
- <include name="MbUnit.Framework.dll"/>
- <include name="Rhino.Commons.dll" />
- <include name="Rhino.Commons.Clr.dll" />
- <include name="Rhino.Commons.ActiveRecord.dll" />
- <include name="Rhino.Commons.NHibernate.dll" />
- <include name="Castle.ActiveRecord.dll" />
- <include name="Castle.Facilities.ActiveRecordIntegration.dll" />
- <include name="Castle.Facilities.Logging.dll" />
- <include name="Castle.Facilities.AutomaticTransactionManagement.dll" />
- <include name="Castle.Windsor.dll" />
- <include name="Castle.Core.dll" />
- <include name="System.Data.SqlServerCe.dll" />
- <include name="System.Data.SQLite.dll" />
- <include name="Castle.MicroKernel.dll" />
- <include name="NHibernate.dll" />
- <include name="Castle.Components.Validator.dll" />
- <include name="Iesi.Collections.dll" />
- <include name="log4net.dll" />
- <include name="Rhino.Mocks.dll" />
- <include name="Rhino.Security.dll" />
- <include name="Rhino.Security.ActiveRecord.dll" />
- </assemblyfileset>
-
- <resourcefileset id="project.resources" prefix="Rhino.Security.Tests" dynamicprefix="true" basedir="${src.dir}">
- <include name="**/*.txt" />
- <include name="**/*.hbm.xml" />
- <include name="**/*.resx" />
- <exclude name="obj/**" />
- </resourcefileset>
-
- <!-- copy the config files -->
- <copy todir="${build.dir}" overwrite="true">
- <fileset basedir="${src.dir}">
- <exclude name="bin/**/*.*"/>
- <include name="**/*.boo"/>
- <include name="**/*.xml"/>
- <include name="**/*.config"/>
- <exclude name="app.config"/>
- </fileset>
- </copy>
- </target>
-
- <target name="generate-assemblyinfo" depends="init common.generate-assemblyinfo" />
-
- <target name="test" depends="init generate-assemblyinfo common.compile-tests common.run-tests" description="Runs the tests" />
-
-</project>
View
125 Rhino.Security.sln
@@ -1,125 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Security.Tests", "Rhino.Security.Tests\Rhino.Security.Tests.csproj", "{558B3AE3-C408-4DB0-AC79-386BC12379BE}"
- ProjectSection(WebsiteProperties) = preProject
- Debug.AspNetCompiler.Debug = "True"
- Release.AspNetCompiler.Debug = "False"
- EndProjectSection
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Security", "Rhino.Security\Rhino.Security.csproj", "{DBA372FE-3D52-45B3-AF82-B37696328764}"
- ProjectSection(WebsiteProperties) = preProject
- Debug.AspNetCompiler.Debug = "True"
- Release.AspNetCompiler.Debug = "False"
- EndProjectSection
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Dependencies", "Dependencies", "{FC06D4B7-409C-4444-982D-AE998D0090E7}"
- ProjectSection(WebsiteProperties) = preProject
- Debug.AspNetCompiler.Debug = "True"
- Release.AspNetCompiler.Debug = "False"
- EndProjectSection
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Commons", "..\rhino-commons\Rhino.Commons\Rhino.Commons.csproj", "{F6321543-E1EC-4999-A562-D9F060C8E3DF}"
- ProjectSection(WebsiteProperties) = preProject
- Debug.AspNetCompiler.Debug = "True"
- Release.AspNetCompiler.Debug = "False"
- EndProjectSection
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.DSL", "..\rhino-dsl\Rhino.DSL\Rhino.DSL.csproj", "{B788F27C-E00A-434A-81AA-1D592E030934}"
- ProjectSection(WebsiteProperties) = preProject
- Debug.AspNetCompiler.Debug = "True"
- Release.AspNetCompiler.Debug = "False"
- EndProjectSection
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Commons.ActiveRecord", "..\rhino-commons\Rhino.Commons.ActiveRecord\Rhino.Commons.ActiveRecord.csproj", "{2B796A66-19FC-4E72-BB02-DC16D878725A}"
- ProjectSection(WebsiteProperties) = preProject
- Debug.AspNetCompiler.Debug = "True"
- Release.AspNetCompiler.Debug = "False"
- EndProjectSection
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Commons.Clr", "..\rhino-commons\Rhino.Commons.Clr\Rhino.Commons.Clr.csproj", "{77693BCD-4C8A-4523-AEE7-8AB46C1034E7}"
- ProjectSection(WebsiteProperties) = preProject
- Debug.AspNetCompiler.Debug = "True"
- Release.AspNetCompiler.Debug = "False"
- EndProjectSection
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Commons.NHibernate", "..\rhino-commons\Rhino.Commons.NHibernate\Rhino.Commons.NHibernate.csproj", "{BF4E220E-5AF8-4448-ABA9-981D69AB8775}"
- ProjectSection(WebsiteProperties) = preProject
- Debug.AspNetCompiler.Debug = "True"
- Release.AspNetCompiler.Debug = "False"
- EndProjectSection
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rhino.Commons.Test", "..\rhino-commons\Rhino.Commons.Test\Rhino.Commons.Test.csproj", "{EE98519D-104D-4A31-ADD8-82C5F836018C}"
- ProjectSection(WebsiteProperties) = preProject
- Debug.AspNetCompiler.Debug = "True"
- Release.AspNetCompiler.Debug = "False"
- EndProjectSection
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- Start|Any CPU = Start|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {558B3AE3-C408-4DB0-AC79-386BC12379BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {558B3AE3-C408-4DB0-AC79-386BC12379BE}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {558B3AE3-C408-4DB0-AC79-386BC12379BE}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {558B3AE3-C408-4DB0-AC79-386BC12379BE}.Release|Any CPU.Build.0 = Release|Any CPU
- {558B3AE3-C408-4DB0-AC79-386BC12379BE}.Start|Any CPU.ActiveCfg = Release|Any CPU
- {558B3AE3-C408-4DB0-AC79-386BC12379BE}.Start|Any CPU.Build.0 = Release|Any CPU
- {DBA372FE-3D52-45B3-AF82-B37696328764}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DBA372FE-3D52-45B3-AF82-B37696328764}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {DBA372FE-3D52-45B3-AF82-B37696328764}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {DBA372FE-3D52-45B3-AF82-B37696328764}.Release|Any CPU.Build.0 = Release|Any CPU
- {DBA372FE-3D52-45B3-AF82-B37696328764}.Start|Any CPU.ActiveCfg = Release|Any CPU
- {DBA372FE-3D52-45B3-AF82-B37696328764}.Start|Any CPU.Build.0 = Release|Any CPU
- {F6321543-E1EC-4999-A562-D9F060C8E3DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F6321543-E1EC-4999-A562-D9F060C8E3DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F6321543-E1EC-4999-A562-D9F060C8E3DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F6321543-E1EC-4999-A562-D9F060C8E3DF}.Release|Any CPU.Build.0 = Release|Any CPU
- {F6321543-E1EC-4999-A562-D9F060C8E3DF}.Start|Any CPU.ActiveCfg = Release|Any CPU
- {F6321543-E1EC-4999-A562-D9F060C8E3DF}.Start|Any CPU.Build.0 = Release|Any CPU
- {B788F27C-E00A-434A-81AA-1D592E030934}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {B788F27C-E00A-434A-81AA-1D592E030934}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B788F27C-E00A-434A-81AA-1D592E030934}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {B788F27C-E00A-434A-81AA-1D592E030934}.Release|Any CPU.Build.0 = Release|Any CPU
- {B788F27C-E00A-434A-81AA-1D592E030934}.Start|Any CPU.ActiveCfg = Release|Any CPU
- {B788F27C-E00A-434A-81AA-1D592E030934}.Start|Any CPU.Build.0 = Release|Any CPU
- {2B796A66-19FC-4E72-BB02-DC16D878725A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {2B796A66-19FC-4E72-BB02-DC16D878725A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {2B796A66-19FC-4E72-BB02-DC16D878725A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {2B796A66-19FC-4E72-BB02-DC16D878725A}.Release|Any CPU.Build.0 = Release|Any CPU
- {2B796A66-19FC-4E72-BB02-DC16D878725A}.Start|Any CPU.ActiveCfg = Release|Any CPU
- {2B796A66-19FC-4E72-BB02-DC16D878725A}.Start|Any CPU.Build.0 = Release|Any CPU
- {77693BCD-4C8A-4523-AEE7-8AB46C1034E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {77693BCD-4C8A-4523-AEE7-8AB46C1034E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {77693BCD-4C8A-4523-AEE7-8AB46C1034E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {77693BCD-4C8A-4523-AEE7-8AB46C1034E7}.Release|Any CPU.Build.0 = Release|Any CPU
- {77693BCD-4C8A-4523-AEE7-8AB46C1034E7}.Start|Any CPU.ActiveCfg = Release|Any CPU
- {77693BCD-4C8A-4523-AEE7-8AB46C1034E7}.Start|Any CPU.Build.0 = Release|Any CPU
- {BF4E220E-5AF8-4448-ABA9-981D69AB8775}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {BF4E220E-5AF8-4448-ABA9-981D69AB8775}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {BF4E220E-5AF8-4448-ABA9-981D69AB8775}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {BF4E220E-5AF8-4448-ABA9-981D69AB8775}.Release|Any CPU.Build.0 = Release|Any CPU
- {BF4E220E-5AF8-4448-ABA9-981D69AB8775}.Start|Any CPU.ActiveCfg = Release|Any CPU
- {BF4E220E-5AF8-4448-ABA9-981D69AB8775}.Start|Any CPU.Build.0 = Release|Any CPU
- {EE98519D-104D-4A31-ADD8-82C5F836018C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {EE98519D-104D-4A31-ADD8-82C5F836018C}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {EE98519D-104D-4A31-ADD8-82C5F836018C}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {EE98519D-104D-4A31-ADD8-82C5F836018C}.Release|Any CPU.Build.0 = Release|Any CPU
- {EE98519D-104D-4A31-ADD8-82C5F836018C}.Start|Any CPU.ActiveCfg = Start|Any CPU
- {EE98519D-104D-4A31-ADD8-82C5F836018C}.Start|Any CPU.Build.0 = Start|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(NestedProjects) = preSolution
- {F6321543-E1EC-4999-A562-D9F060C8E3DF} = {FC06D4B7-409C-4444-982D-AE998D0090E7}
- {B788F27C-E00A-434A-81AA-1D592E030934} = {FC06D4B7-409C-4444-982D-AE998D0090E7}
- {2B796A66-19FC-4E72-BB02-DC16D878725A} = {FC06D4B7-409C-4444-982D-AE998D0090E7}
- {77693BCD-4C8A-4523-AEE7-8AB46C1034E7} = {FC06D4B7-409C-4444-982D-AE998D0090E7}
- {BF4E220E-5AF8-4448-ABA9-981D69AB8775} = {FC06D4B7-409C-4444-982D-AE998D0090E7}
- {EE98519D-104D-4A31-ADD8-82C5F836018C} = {FC06D4B7-409C-4444-982D-AE998D0090E7}
- EndGlobalSection
-EndGlobal
View
48 Rhino.Security/default.build
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding='iso-8859-1' ?>
-<project
- name="Rhino.Security"
- default="build"
- xmlns="http://nant.sf.net/release/0.85/nant.xsd"
->
- <property name="root.dir" value="../.." />
- <include buildfile="${root.dir}/common-project.xml" />
-
- <target name="init" depends="common.init">
- <property name="assembly.version" value="2.0.0.0" />
- <property name="assembly.description" value="Rhino Security - Security Services for the Model" />
-
- <assemblyfileset id="project.references" basedir="${build.dir}">
- <include name="Boo.Lang.dll"/>
- <include name="Boo.Lang.Extensions.dll"/>
- <include name="Boo.Lang.Compiler.dll"/>
- <include name="Boo.Lang.Parser.dll"/>
- <include name="Castle.Windsor.dll"/>
- <include name="Castle.MicroKernel.dll"/>
- <include name="Castle.Core.dll"/>
- <include name="Castle.Components.Validator.dll"/>
- <include name="Iesi.Collections.dll"/>
- <include name="log4net.dll"/>
- <include name="NHibernate.dll"/>
- <include name="Rhino.Dsl.dll"/>
- <include name="Rhino.Commons.Clr.dll"/>
- <include name="Rhino.Commons.dll"/>
- <include name="Rhino.Commons.NHibernate.dll"/>
- <include name="Rhino.Commons.ActiveRecord.dll"/>
- <include name="System"/>
- </assemblyfileset>
-
-
- <resourcefileset id="project.resources" prefix="Rhino.Security" dynamicprefix="true" basedir="${src.dir}">
- <include name="**/*.txt" />
- <include name="**/*.hbm.xml" />
- <include name="**/*.resx" />
- <exclude name="obj/**" />
- </resourcefileset>
-
- </target>
-
- <target name="generate-assemblyinfo" depends="init common.generate-assemblyinfo" />
-
- <target name="build" description="Build ${project::get-name()}" depends="generate-assemblyinfo common.compile-dll" />
-
-</project>
View
BIN  SharedLibs/Antlr3.Runtime.dll
Binary file not shown
View
BIN  SharedLibs/Castle.Core.dll
Binary file not shown
View
3,197 SharedLibs/Castle.Core.xml
3,197 additions, 0 deletions not shown
View
13 SharedLibs/Castle.DynamicProxy.license.txt
@@ -0,0 +1,13 @@
+Copyright 2004-2005 Castle Project - http://www.castleproject.org/
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
View
BIN  SharedLibs/Castle.DynamicProxy2.dll
Binary file not shown
View
1,249 SharedLibs/Castle.DynamicProxy2.xml
1,249 additions, 0 deletions not shown
View
BIN  SharedLibs/Iesi.Collections.dll
Binary file not shown
View
1,903 SharedLibs/Iesi.Collections.xml
1,903 additions, 0 deletions not shown
View
280 SharedLibs/Microsoft.Practices.ServiceLocation.XML
@@ -0,0 +1,280 @@
+<?xml version="1.0"?>
+<doc>
+ <assembly>
+ <name>Microsoft.Practices.ServiceLocation</name>
+ </assembly>
+ <members>
+ <member name="T:Microsoft.Practices.ServiceLocation.ActivationException">
+ <summary>
+ The standard exception thrown when a ServiceLocator has an error in resolving an object.
+ </summary>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.ActivationException.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Exception" /> class.
+ </summary>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.ActivationException.#ctor(System.String)">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Exception" /> class with a specified error message.
+ </summary>
+ <param name="message">
+ The message that describes the error.
+ </param>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.ActivationException.#ctor(System.String,System.Exception)">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Exception" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.
+ </summary>
+ <param name="message">
+ The error message that explains the reason for the exception.
+ </param>
+ <param name="innerException">
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+ </param>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.ActivationException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Exception" /> class with serialized data.
+ </summary>
+ <param name="info">
+ The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.
+ </param>
+ <param name="context">
+ The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.
+ </param>
+ <exception cref="T:System.ArgumentNullException">
+ The <paramref name="info" /> parameter is null.
+ </exception>
+ <exception cref="T:System.Runtime.Serialization.SerializationException">
+ The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0).
+ </exception>
+ </member>
+ <member name="T:Microsoft.Practices.ServiceLocation.IServiceLocator">
+ <summary>
+ The generic Service Locator interface. This interface is used
+ to retrieve services (instances identified by type and optional
+ name) from a container.
+ </summary>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.IServiceLocator.GetInstance(System.Type)">
+ <summary>
+ Get an instance of the given <paramref name="serviceType"/>.
+ </summary>
+ <param name="serviceType">Type of object requested.</param>
+ <exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is an error resolving
+ the service instance.</exception>
+ <returns>The requested service instance.</returns>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.IServiceLocator.GetInstance(System.Type,System.String)">
+ <summary>
+ Get an instance of the given named <paramref name="serviceType"/>.
+ </summary>
+ <param name="serviceType">Type of object requested.</param>
+ <param name="key">Name the object was registered with.</param>
+ <exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is an error resolving
+ the service instance.</exception>
+ <returns>The requested service instance.</returns>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.IServiceLocator.GetAllInstances(System.Type)">
+ <summary>
+ Get all instances of the given <paramref name="serviceType"/> currently
+ registered in the container.
+ </summary>
+ <param name="serviceType">Type of object requested.</param>
+ <exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is are errors resolving
+ the service instance.</exception>
+ <returns>A sequence of instances of the requested <paramref name="serviceType"/>.</returns>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.IServiceLocator.GetInstance``1">
+ <summary>
+ Get an instance of the given <typeparamref name="TService"/>.
+ </summary>
+ <typeparam name="TService">Type of object requested.</typeparam>
+ <exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is are errors resolving
+ the service instance.</exception>
+ <returns>The requested service instance.</returns>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.IServiceLocator.GetInstance``1(System.String)">
+ <summary>
+ Get an instance of the given named <typeparamref name="TService"/>.
+ </summary>
+ <typeparam name="TService">Type of object requested.</typeparam>
+ <param name="key">Name the object was registered with.</param>
+ <exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is are errors resolving
+ the service instance.</exception>
+ <returns>The requested service instance.</returns>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.IServiceLocator.GetAllInstances``1">
+ <summary>
+ Get all instances of the given <typeparamref name="TService"/> currently
+ registered in the container.
+ </summary>
+ <typeparam name="TService">Type of object requested.</typeparam>
+ <exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is are errors resolving
+ the service instance.</exception>
+ <returns>A sequence of instances of the requested <typeparamref name="TService"/>.</returns>
+ </member>
+ <member name="T:Microsoft.Practices.ServiceLocation.Properties.Resources">
+ <summary>
+ A strongly-typed resource class, for looking up localized strings, etc.
+ </summary>
+ </member>
+ <member name="P:Microsoft.Practices.ServiceLocation.Properties.Resources.ResourceManager">
+ <summary>
+ Returns the cached ResourceManager instance used by this class.
+ </summary>
+ </member>
+ <member name="P:Microsoft.Practices.ServiceLocation.Properties.Resources.Culture">
+ <summary>
+ Overrides the current thread's CurrentUICulture property for all
+ resource lookups using this strongly typed resource class.
+ </summary>
+ </member>
+ <member name="P:Microsoft.Practices.ServiceLocation.Properties.Resources.ActivateAllExceptionMessage">
+ <summary>
+ Looks up a localized string similar to Activation error occured while trying to get all instances of type {0}.
+ </summary>
+ </member>
+ <member name="P:Microsoft.Practices.ServiceLocation.Properties.Resources.ActivationExceptionMessage">
+ <summary>
+ Looks up a localized string similar to Activation error occured while trying to get instance of type {0}, key &quot;{1}&quot;.
+ </summary>
+ </member>
+ <member name="T:Microsoft.Practices.ServiceLocation.ServiceLocator">
+ <summary>
+ This class provides the ambient container for this application. If your
+ framework defines such an ambient container, use ServiceLocator.Current
+ to get it.
+ </summary>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.ServiceLocator.SetLocatorProvider(Microsoft.Practices.ServiceLocation.ServiceLocatorProvider)">
+ <summary>
+ Set the delegate that is used to retrieve the current container.
+ </summary>
+ <param name="newProvider">Delegate that, when called, will return
+ the current ambient container.</param>
+ </member>
+ <member name="P:Microsoft.Practices.ServiceLocation.ServiceLocator.Current">
+ <summary>
+ The current ambient container.
+ </summary>
+ </member>
+ <member name="T:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase">
+ <summary>
+ This class is a helper that provides a default implementation
+ for most of the methods of <see cref="T:Microsoft.Practices.ServiceLocation.IServiceLocator"/>.
+ </summary>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetService(System.Type)">
+ <summary>
+ Implementation of <see cref="M:System.IServiceProvider.GetService(System.Type)"/>.
+ </summary>
+ <param name="serviceType">The requested service.</param>
+ <exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is an error in resolving the service instance.</exception>
+ <returns>The requested object.</returns>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(System.Type)">
+ <summary>
+ Get an instance of the given <paramref name="serviceType"/>.
+ </summary>
+ <param name="serviceType">Type of object requested.</param>
+ <exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is an error resolving
+ the service instance.</exception>
+ <returns>The requested service instance.</returns>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(System.Type,System.String)">
+ <summary>
+ Get an instance of the given named <paramref name="serviceType"/>.
+ </summary>
+ <param name="serviceType">Type of object requested.</param>
+ <param name="key">Name the object was registered with.</param>
+ <exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is an error resolving
+ the service instance.</exception>
+ <returns>The requested service instance.</returns>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetAllInstances(System.Type)">
+ <summary>
+ Get all instances of the given <paramref name="serviceType"/> currently
+ registered in the container.
+ </summary>
+ <param name="serviceType">Type of object requested.</param>
+ <exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is are errors resolving
+ the service instance.</exception>
+ <returns>A sequence of instances of the requested <paramref name="serviceType"/>.</returns>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance``1">
+ <summary>
+ Get an instance of the given <typeparamref name="TService"/>.
+ </summary>
+ <typeparam name="TService">Type of object requested.</typeparam>
+ <exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is are errors resolving
+ the service instance.</exception>
+ <returns>The requested service instance.</returns>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance``1(System.String)">
+ <summary>
+ Get an instance of the given named <typeparamref name="TService"/>.
+ </summary>
+ <typeparam name="TService">Type of object requested.</typeparam>
+ <param name="key">Name the object was registered with.</param>
+ <exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is are errors resolving
+ the service instance.</exception>
+ <returns>The requested service instance.</returns>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetAllInstances``1">
+ <summary>
+ Get all instances of the given <typeparamref name="TService"/> currently
+ registered in the container.
+ </summary>
+ <typeparam name="TService">Type of object requested.</typeparam>
+ <exception cref="T:Microsoft.Practices.ServiceLocation.ActivationException">if there is are errors resolving
+ the service instance.</exception>
+ <returns>A sequence of instances of the requested <typeparamref name="TService"/>.</returns>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.DoGetInstance(System.Type,System.String)">
+ <summary>
+ When implemented by inheriting classes, this method will do the actual work of resolving
+ the requested service instance.
+ </summary>
+ <param name="serviceType">Type of instance requested.</param>
+ <param name="key">Name of registered service you want. May be null.</param>
+ <returns>The requested service instance.</returns>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.DoGetAllInstances(System.Type)">
+ <summary>
+ When implemented by inheriting classes, this method will do the actual work of
+ resolving all the requested service instances.
+ </summary>
+ <param name="serviceType">Type of service requested.</param>
+ <returns>Sequence of service instance objects.</returns>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.FormatActivationExceptionMessage(System.Exception,System.Type,System.String)">
+ <summary>
+ Format the exception message for use in an <see cref="T:Microsoft.Practices.ServiceLocation.ActivationException"/>
+ that occurs while resolving a single service.
+ </summary>
+ <param name="actualException">The actual exception thrown by the implementation.</param>
+ <param name="serviceType">Type of service requested.</param>
+ <param name="key">Name requested.</param>
+ <returns>The formatted exception message string.</returns>
+ </member>
+ <member name="M:Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.FormatActivateAllExceptionMessage(System.Exception,System.Type)">
+ <summary>
+ Format the exception message for use in an <see cref="T:Microsoft.Practices.ServiceLocation.ActivationException"/>
+ that occurs while resolving multiple service instances.
+ </summary>
+ <param name="actualException">The actual exception thrown by the implementation.</param>
+ <param name="serviceType">Type of service requested.</param>
+ <returns>The formatted exception message string.</returns>
+ </member>
+ <member name="T:Microsoft.Practices.ServiceLocation.ServiceLocatorProvider">
+ <summary>
+ This delegate type is used to provide a method that will
+ return the current container. Used with the <see cref="T:Microsoft.Practices.ServiceLocation.ServiceLocator"/>
+ static accessor class.
+ </summary>
+ <returns>An <see cref="T:Microsoft.Practices.ServiceLocation.IServiceLocator"/>.</returns>
+ </member>
+ </members>
+</doc>
View
BIN  SharedLibs/Microsoft.Practices.ServiceLocation.dll
Binary file not shown
View
BIN  SharedLibs/Microsoft.Practices.ServiceLocation.pdb
Binary file not shown
View
BIN  SharedLibs/NHibernate.ByteCode.Castle.dll
Binary file not shown
View
40 SharedLibs/NHibernate.ByteCode.Castle.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<doc>
+ <assembly>
+ <name>NHibernate.ByteCode.Castle</name>
+ </assembly>
+ <members>
+ <member name="T:NHibernate.ByteCode.Castle.LazyInitializer">
+ <summary>
+ A <see cref="T:NHibernate.Proxy.ILazyInitializer"/> for use with the Castle Dynamic Class Generator.
+ </summary>
+ </member>
+ <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)">
+ <summary>
+ Initializes a new <see cref="T:NHibernate.ByteCode.Castle.LazyInitializer"/> object.
+ </summary>
+ <param name="entityName"></param>
+ <param name="persistentClass">The Class to Proxy.</param>
+ <param name="id">The Id of the Object we are Proxying.</param>
+ <param name="getIdentifierMethod"></param>
+ <param name="setIdentifierMethod"></param>
+ <param name="componentIdType"></param>
+ <param name="session">The ISession this Proxy is in.</param>
+ </member>
+ <member name="M:NHibernate.ByteCode.Castle.LazyInitializer.Intercept(Castle.Core.Interceptor.IInvocation)">
+ <summary>
+ Invoke the actual Property/Method using the Proxy or instantiate the actual
+ object and use it when the Proxy can't handle the method.
+ </summary>
+ <param name="invocation">The <see cref="T:Castle.Core.Interceptor.IInvocation"/> from the generated Castle.DynamicProxy.</param>
+ </member>
+ <member name="M:NHibernate.ByteCode.Castle.ProxyFactory.GetProxy(System.Object,NHibernate.Engine.ISessionImplementor)">
+ <summary>
+ Build a proxy using the Castle.DynamicProxy library.
+ </summary>
+ <param name="id">The value for the Id.</param>
+ <param name="session">The Session the proxy is in.</param>
+ <returns>A fully built <c>INHibernateProxy</c>.</returns>
+ </member>
+ </members>
+</doc>
View
BIN  SharedLibs/NHibernate.Validator.Tests.dll
Binary file not shown
View
BIN  SharedLibs/NHibernate.Validator.dll
Binary file not shown
View
1,435 SharedLibs/NHibernate.Validator.xml
@@ -0,0 +1,1435 @@
+<?xml version="1.0"?>
+<doc>
+ <assembly>
+ <name>NHibernate.Validator</name>
+ </assembly>
+ <members>
+ <member name="M:NHibernate.Validator.Cfg.IMappingsProvider.GetMappings">
+ <summary>
+ Get all mapped classes.
+ </summary>
+ <returns>All mapped classes for the current loader.</returns>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.INHVConfiguration">
+ <summary>
+ Contract for configuration sources.
+ </summary>
+ </member>
+ <member name="P:NHibernate.Validator.Cfg.INHVConfiguration.SharedEngineProviderClass">
+ <summary>
+ Assembly qualified name for shared engine provider.
+ </summary>
+ </member>
+ <member name="P:NHibernate.Validator.Cfg.INHVConfiguration.Properties">
+ <summary>
+ Configured properties.
+ </summary>
+ </member>
+ <member name="P:NHibernate.Validator.Cfg.INHVConfiguration.Mappings">
+ <summary>
+ Configured Mappings.
+ </summary>
+ </member>
+ <member name="M:NHibernate.Validator.Cfg.IMappingLoader.LoadMappings(System.Collections.Generic.IList{NHibernate.Validator.Cfg.MappingConfiguration})">
+ <summary>
+ Load all mappings configured in the nhv-configuration configuration section.
+ </summary>
+ <param name="configurationMappings">The list of configured mappings.</param>
+ </member>
+ <member name="M:NHibernate.Validator.Cfg.IMappingLoader.AddAssembly(System.String)">
+ <summary>
+ Adds all of the assembly's mappings.
+ </summary>
+ <param name="assemblyName">The assembly full name to load.</param>
+ <seealso cref="M:System.Reflection.Assembly.Load(System.Reflection.AssemblyName)"/>
+ </member>
+ <member name="M:NHibernate.Validator.Cfg.IMappingLoader.AddAssembly(System.Reflection.Assembly)">
+ <summary>
+ Adds all of the assembly's mappings.
+ </summary>
+ <param name="assembly">The assembly.</param>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmClass">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmClass.attributename">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmClass.property">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmClass.name">
+ <remarks/>
+ </member>
+ <member name="M:NHibernate.Validator.Cfg.MappingSchema.RuleAttributeFactory.CreateAttributeFromClass(System.Type,NHibernate.Validator.Cfg.MappingSchema.NhvmClassAttributename)">
+ <summary>
+ Create the attribute of a entity-validator from XML definitions.
+ </summary>
+ <param name="entityType">The entity class where associate the attribute.</param>
+ <param name="attributename">The attribute name in the mapping.</param>
+ <returns>The <see cref="T:System.Attribute"/> instance.</returns>
+ <remarks>
+ We are using the conventions:
+ - The attribute must be defined in the same namespace of the <paramref name="entityType"/>.
+ - The attribute class may have the postfix "Attribute" without need to use it in the mapping.
+ </remarks>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmProperty">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmProperty.Items">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmProperty.name">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmAssertfalse">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmAssertfalse.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmAsserttrue">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmAsserttrue.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmCreditcardnumber">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmCreditcardnumber.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmDigits">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmDigits.integerDigits">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmDigits.fractionalDigits">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmDigits.fractionalDigitsSpecified">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmDigits.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmEan">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmEan.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmEmail">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmEmail.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmFileexists">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmFileexists.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmFuture">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmFuture.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmIban">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmIban.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmIpaddress">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmIpaddress.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmLength">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmLength.min">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmLength.minSpecified">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmLength.max">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmLength.maxSpecified">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmLength.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmMax">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmMax.value">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmMax.valueSpecified">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmMax.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmMin">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmMin.value">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmMin.valueSpecified">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmMin.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmNotEmpty">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmNotEmpty.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmNotNull">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmNotNull.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmNotnullNotempty">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmNotnullNotempty.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmPast">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmPast.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmPattern">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmPattern.regex">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmPattern.message">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmPattern.regexoptions">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmRange">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmRange.min">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmRange.minSpecified">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmRange.max">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmRange.maxSpecified">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmRange.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmRule">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmRule.param">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmRule.attribute">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmParam">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmParam.name">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmParam.value">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmSize">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmSize.min">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmSize.minSpecified">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmSize.max">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmSize.maxSpecified">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmSize.message">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmValid">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvMapping">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvMapping.class">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvMapping.namespace">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvMapping.assembly">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingSchema.NhvmClassAttributename">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmClassAttributename.message">
+ <remarks/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.MappingSchema.NhvmClassAttributename.Text">
+ <remarks/>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.CfgXmlHelper">
+ <summary>
+ Helper to parse nhv-configuration XmlNode.
+ </summary>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.CfgXmlHelper.CfgSectionName">
+ <summary>
+ The XML node name for hibernate configuration section in the App.config/Web.config and
+ for the hibernate.cfg.xml .
+ </summary>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.CfgXmlHelper.CfgSchemaXMLNS">
+ <summary>The XML Namespace for the nhibernate-configuration</summary>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.CfgXmlHelper.SharedEngineClassExpression">
+ <summary>XPath expression for shared-engine-class node</summary>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.CfgXmlHelper.PropertiesExpression">
+ <summary>XPath expression for property nodes</summary>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.CfgXmlHelper.MappingsExpression">
+ <summary>XPath expression for mapping nodes</summary>
+ </member>
+ <member name="M:NHibernate.Validator.Cfg.CfgXmlHelper.ValidatorModeConvertFrom(System.String)">
+ <summary>
+ Convert a given string to a <see cref="T:NHibernate.Validator.Engine.ValidatorMode"/>.
+ </summary>
+ <param name="validatorMode">The string</param>
+ <returns>The result <see cref="T:NHibernate.Validator.Engine.ValidatorMode"/>.</returns>
+ <exception cref="T:NHibernate.Validator.Exceptions.ValidatorConfigurationException">when the string don't have a valid value.</exception>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.ConfigurationSectionHandler">
+ <summary>
+ Readonly NHV configuration section handler
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.Environment">
+ <summary>
+ NHibernate Validator properties
+ </summary>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.Environment.ApplyToDDL">
+ <summary>
+ Apply DDL changes on Hibernate metamodel when using validator with Hibernate Annotations.
+ Default to true.
+ </summary>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.Environment.AutoregisterListeners">
+ <summary>
+ Enable listeners auto registration in Hibernate Annotations and EntityManager.
+ Default to true.
+ </summary>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.Environment.MessageInterpolatorClass">
+ <summary>
+ Message interpolator class used. The same instance is shared across all ClassValidators
+ </summary>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.Environment.MappingLoaderClass">
+ <summary>
+ Mapping loader implementor.
+ </summary>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.Environment.ConstraintValidatorFactoryClass">
+ <summary>
+ Constraint Validator Factory used to create Validators.
+ </summary>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.Environment.ValidatorMode">
+ <summary>
+ Define validation mode.
+ Default <see cref="F:NHibernate.Validator.Engine.ValidatorMode.UseAttribute"/>
+ </summary>
+ <remarks>
+ Allowed values are available in <see cref="T:NHibernate.Validator.Engine.ValidatorMode"/>.
+ </remarks>
+ <seealso cref="T:NHibernate.Validator.Engine.ValidatorMode"/>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.Environment.BaseNameOfMessageResource">
+ <summary>
+ Base name of resource file for embedded validators.
+ </summary>
+ </member>
+ <member name="F:NHibernate.Validator.Cfg.Environment.SharedEngineClass">
+ <summary>
+ Define the provider of shared engine between various logical layers.
+ </summary>
+ <remarks>
+ The main target of shared engine is have only one engine for the NHibernate events of validator.
+ If an application configure a certain shared engine provider and use it to get the ValidatorEngine
+ the result is that the events for NH configure the ValidatorEngine and the application can
+ share the same engine ensuring that app and NH-event make the same validation.
+ <para/>
+ The configuration of shared_engine_provider is ignored outside app/web config file.
+ </remarks>
+ </member>
+ <member name="P:NHibernate.Validator.Cfg.Environment.SharedEngineProvider">
+ <summary>
+ Shared engine provider instance.
+ </summary>
+ <remarks>
+ The Shared engine instance can be injected at run-time even if if not the better way to work with it.
+ </remarks>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.MappingConfiguration">
+ <summary>
+ Configuration parsed values for a mapping XML node
+ </summary>
+ <remarks>
+ There are 3 possible combinations of mapping attributes
+ 1 - resource and assembly: NHV will read the mapping resource from the specified assembly
+ 2 - file only: NHV will read the mapping from the file.
+ 3 - assembly only: NHV will find all the resources ending in nhv.xml from the assembly.
+ </remarks>
+ </member>
+ <member name="M:NHibernate.Validator.Cfg.MappingConfiguration.#ctor(System.String)">
+ <summary>
+ Initializes a new instance of the <see cref="T:NHibernate.Validator.Cfg.MappingConfiguration"/> class.
+ </summary>
+ <param name="file">Mapped file.</param>
+ <exception cref="T:System.ArgumentException">When <paramref name="file"/> is null or empty.</exception>
+ </member>
+ <member name="M:NHibernate.Validator.Cfg.MappingConfiguration.#ctor(System.String,System.String)">
+ <summary>
+ Initializes a new instance of the <see cref="T:NHibernate.Validator.Cfg.MappingConfiguration"/> class.
+ </summary>
+ <param name="assembly">The assembly name.</param>
+ <param name="resource">The mapped embedded resource.</param>
+ <exception cref="T:System.ArgumentException">When <paramref name="assembly"/> is null or empty.</exception>
+ </member>
+ <member name="M:NHibernate.Validator.Cfg.MappingConfiguration.IsEmpty">
+ <summary>
+ Is the mapping element empty
+ </summary>
+ <returns>True if the element is empty; false otherwise.</returns>
+ </member>
+ <member name="P:NHibernate.Validator.Cfg.MappingConfiguration.File">
+ <summary>
+ The file of a mapped validator.
+ </summary>
+ </member>
+ <member name="P:NHibernate.Validator.Cfg.MappingConfiguration.Assembly">
+ <summary>
+ The assembly name where validator mapping is.
+ </summary>
+ </member>
+ <member name="P:NHibernate.Validator.Cfg.MappingConfiguration.Resource">
+ <summary>
+ The name of an embedded resource in the <see cref="P:NHibernate.Validator.Cfg.MappingConfiguration.Assembly"/>.
+ </summary>
+ </member>
+ <member name="P:NHibernate.Validator.Cfg.NHVConfigurationBase.Properties">
+ <summary>
+ Configured properties
+ </summary>
+ </member>
+ <member name="P:NHibernate.Validator.Cfg.NHVConfigurationBase.Mappings">
+ <summary>
+ Configured Mappings
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Cfg.XmlConfiguration">
+ <summary>
+ Configuration parsed values for nhv-configuration section.
+ </summary>
+ </member>
+ <member name="M:NHibernate.Validator.Cfg.XmlConfiguration.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:NHibernate.Validator.Cfg.XmlConfiguration"/> class.
+ </summary>
+ <remarks>An empty configuration.</remarks>
+ </member>
+ <member name="M:NHibernate.Validator.Cfg.XmlConfiguration.#ctor(System.Xml.XmlReader)">
+ <summary>
+ Initializes a new instance of the <see cref="T:NHibernate.Validator.Cfg.XmlConfiguration"/> class.
+ </summary>
+ <param name="configurationReader">The XML reader to parse.</param>
+ <remarks>
+ The nhv-configuration.xsd is applied to the XML.
+ </remarks>
+ <exception cref="T:NHibernate.Validator.Exceptions.ValidatorConfigurationException">When nhibernate-configuration.xsd can't be applied.</exception>
+ </member>
+ <member name="M:NHibernate.Validator.Cfg.XmlMappingLoader.AddAssembly(System.Reflection.Assembly)">
+ <summary>
+ Adds all of the assembly's embedded resources whose names end with <c>.nhv.xml</c>.
+ </summary>
+ <param name="assembly">The assembly.</param>
+ <returns>This configuration object.</returns>
+ </member>
+ <member name="M:NHibernate.Validator.Cfg.XmlMappingLoader.GetXmlMappingFor(System.Type)">
+ <summary>
+ Load and return a mapping for a given type.
+ </summary>
+ <param name="type">The given type.</param>
+ <returns>The mapping.</returns>
+ <remarks>
+ The method use a convention to find the resource that represent the mapping for the given class.
+ - The mapping must be compiled like embedded resource in the same assembly of the given type
+ - The name o the resource must be the same name of the type and end with ".nhv.xml"
+ - The resource must stay in the same namespace of the type
+ </remarks>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.AssertFalseAttribute">
+ <summary>
+ The annotated element has to be false
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Engine.IRuleArgs">
+ <summary>
+ All validators attributes must implement this interface.
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Engine.IValidator">
+ <summary>
+ A validator for a particular attribute
+ </summary>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.IValidator.IsValid(System.Object,NHibernate.Validator.Engine.IConstraintValidatorContext)">
+ <summary>
+ does the object/element pass the constraints
+ </summary>
+ <param name="value">Object to be validated</param>
+ <param name="constraintValidatorContext">Context for the validator constraint</param>
+ <returns>if the instance is valid</returns>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.AssertTrueAttribute">
+ <summary>
+ The annotated element has to be true
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.DigitsAttribute">
+ <summary>
+ Checks wheter the member is a number having up to <c>IntegerDigits</c>,
+ and <c>FractionalDigits</c> fractional digits.
+ <remarks>
+ <c>FractionalDigits</c> default value: 0.
+ </remarks>
+ <code>
+ For example:
+ <example>
+ - With [Digits(3)] //here FractionalDigits is zero.
+ - Valid values: 0; 9; 99; 99.0; null; 01;
+ - Invalid values: 1000; 10.1; "aa"; new object();
+
+ - With [Digits(2,3)]
+ - Valid values: 0; 100.100; 99.99;
+ - Invalid values: 1000.0; 9.233; 1233;
+
+ - With [Digits(0,2)]
+ - Valid values: 0; 0.1; 0.12;
+ - Invalid values: 1.12; 0.123
+ </example>
+ </code>
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Engine.IInitializableValidator`1">
+ <summary>
+ Contract for validator that need initialization.
+ </summary>
+ <typeparam name="A">The attribute that hold validator parameters.</typeparam>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.IInitializableValidator`1.Initialize(`0)">
+ <summary>
+ Take the attribute values and Initialize the Validator
+ </summary>
+ <param name="parameters">parameters</param>
+ </member>
+ <member name="M:NHibernate.Validator.Constraints.DigitsValidator.IsValid(System.Object,NHibernate.Validator.Engine.IConstraintValidatorContext)">
+ <summary>
+ does the object/element pass the constraints
+ </summary>
+ <param name="value">Object to be validated</param>
+ <returns>if the instance is valid</returns>
+ </member>
+ <member name="M:NHibernate.Validator.Constraints.DigitsValidator.Initialize(NHibernate.Validator.Constraints.DigitsAttribute)">
+ <summary>
+ Take the annotations values and Initialize the Validator
+ </summary>
+ <param name="parameters">parameters</param>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.EANAttribute">
+ <summary>
+ The Attribute element has to represent an EAN-13 or UPC-A
+ which aims to check for user mistake, not actual number validity!
+ http://en.wikipedia.org/wiki/European_Article_Number
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.EANValidator">
+ <summary>
+ Validate EAN13 and UPC-A
+ http://en.wikipedia.org/wiki/European_Article_Number
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.EmailAttribute">
+ <summary>
+ The string has to be a well-formed email address
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.FileExistsAttribute">
+ <summary>
+ The file, where string is pointing to, must exist.
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.FutureAttribute">
+ <summary>
+ Check that a Date representation apply in the future
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.FutureValidator">
+ <summary>
+ Check that a given date is in the future.
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.IBANAttribute">
+ <summary>
+ This expression matches an IBAN Code (International Bank Account Number)
+ </summary>
+ </member>
+ <member name="F:NHibernate.Validator.Constraints.IBANValidator.defs">
+ <summary>
+ Definitions of countries IBAN (Key=Country code as defined in ISO 3166; Value=IbanDefinition)
+ </summary>
+ </member>
+ <member name="M:NHibernate.Validator.Constraints.IBANValidator.GetValidatable(System.Collections.Generic.IEnumerable{System.Char},System.String@)">
+ <summary>
+ IBAN cleaner
+ </summary>
+ <param name="iban">Not cleaned IBAN</param>
+ <param name="validable">The validatable IBAN</param>
+ <returns>true if the <paramref name="iban"/> have all valid character; otherwise false</returns>
+ </member>
+ <member name="M:NHibernate.Validator.Constraints.IBANValidator.IsValidModOfCin(System.String)">
+ <summary>
+ Validate the CIN for a given encoded IBAN
+ </summary>
+ <param name="encodedIban">The encoded IBAN.</param>
+ <returns>true if the CIN is valid (mod=1); otherwise false</returns>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.IPAddressAttribute">
+ <summary>
+ Must be a valid IP address.
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.IsNumericAttribute">
+ <summary>
+ Check if string is a number.
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.LengthAttribute">
+ <summary>
+ Apply some length restrictions to the annotated element. It has to be a string
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Engine.IPropertyConstraint">
+ <summary>
+ Interface implemented by the validator
+ when a constraint may be represented in a
+ hibernate metadata property
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.MaxAttribute">
+ <summary>
+ Max restriction on a numeric annotated element
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.MinAttribute">
+ <summary>
+ Min restriction on a numeric annotated element (or the string representation of a numeric)
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.NotEmptyAttribute">
+ <summary>
+ Check that a String is not empty (length > 0)
+ or that a IEnumerable is not empty (Count > 0)
+ </summary>
+ <remarks>
+ To validate for NotNull and Not Empty use NotNullNotEmptyAttribute.
+ </remarks>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.NotNullAttribute">
+ <summary>
+ Ensure the member to be not null.
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.NotNullNotEmptyAttribute">
+ <summary>
+ Ensure a IEnumerable (including string) to be not null and not empty.
+ <code>
+ <example>
+ Valid values: "abc"; new int[] {1}; new List&lt;int>(new int[] { 1 });
+ Invalid values: null; ""; 123; new int[0]; new List&lt;int>();
+ </example>
+ </code>
+ </summary>
+ </member>
+ <member name="P:NHibernate.Validator.Constraints.NotNullNotEmptyAttribute.Message">
+ <summary>
+ The message to be sent to the user if it is not valid
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.PastAttribute">
+ <summary>
+ Check that a date representation apply in the past
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.PatternAttribute">
+ <summary>
+ The annotated element must follow the regex pattern
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.RangeAttribute">
+ <summary>
+ The annotated elemnt has to be in the appropriate range. Apply on numeric values or string
+ representation of the numeric value.
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.SizeAttribute">
+ <summary>
+ Size range for Arrays, Collections (do not use with strings).
+ <code>
+ <example>
+ -[SizeAttribute] range from 0 to int.MaxValue.
+ Valid values: new int[0];
+
+ [SizeAttribute(1,3)] range from 1 to 3.
+ Valid values: new int[1]; new int[3]
+ Invalid values: new int[0]; new int[4]; "123"; 123;
+ </example>
+ </code>
+ </summary>
+ </member>
+ <member name="M:NHibernate.Validator.Constraints.SizeAttribute.#ctor">
+ <summary>
+ Min = 0
+ Max = int.MaxValue
+ </summary>
+ </member>
+ <member name="M:NHibernate.Validator.Constraints.SizeAttribute.#ctor(System.Int32,System.Int32)">
+ <summary>
+ Min and Max are specified in the parameters.
+ </summary>
+ <param name="min">Min value to ensure</param>
+ <param name="max">Max value to ensure</param>
+ </member>
+ <member name="T:NHibernate.Validator.Constraints.ValidAttribute">
+ <summary>
+ Enables recursive validation of an associated object
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Engine.ClassValidator">
+ <summary>
+ Engine that take a object and check every expressed attribute restrictions
+ </summary>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.IClassValidator.GetInvalidValues(System.Object)">
+ <summary>
+ Apply constraints on a entity instance and return all the failures.
+ if <paramref name="entity"/> is null, an empty array is returned
+ </summary>
+ <param name="entity">object to apply the constraints</param>
+ <returns></returns>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.IClassValidator.GetInvalidValues(System.Object,System.String)">
+ <summary>
+ Apply constraints on a entity instance and return all the failures for the given property.
+ if <paramref name="entity"/> is null, an empty array is returned.
+ </summary>
+ <param name="entity">Object to apply the constraints</param>
+ <param name="propertyName">The name of the property to validate.</param>
+ <returns></returns>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.IClassValidator.AssertValid(System.Object)">
+ <summary>
+ Assert a valid Object. A <see cref="T:NHibernate.Validator.Exceptions.InvalidStateException"/>
+ will be throw in a Invalid state.
+ </summary>
+ <param name="entity">Object to be asserted</param>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.IClassValidator.GetPotentialInvalidValues(System.String,System.Object)">
+ <summary>
+ Apply constraints of a particular property value of a entity type and return all the failures.
+ The InvalidValue objects returns return null for <see cref="P:NHibernate.Validator.Engine.InvalidValue.Entity"/> and <see cref="P:NHibernate.Validator.Engine.InvalidValue.RootEntity"/>.
+ </summary>
+ <param name="propertyName"></param>
+ <param name="value"></param>
+ <returns></returns>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.IClassValidator.Apply(NHibernate.Mapping.PersistentClass)">
+ <summary>
+ Apply the registred constraints rules on the hibernate metadata (to be applied on DB schema)
+ </summary>
+ <param name="persistentClass">hibernate metadata</param>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.IClassValidator.GetMemberConstraints(System.String)">
+ <summary>
+ Get the list of constraints declared for a give member of the entityValidator
+ </summary>
+ <param name="propertyName">The name of the property.</param>
+ <returns>The list of attribute of the given property.</returns>
+ </member>
+ <member name="P:NHibernate.Validator.Engine.IClassValidator.HasValidationRules">
+ <summary>
+ Return true if this <see cref="T:NHibernate.Validator.Engine.ClassValidator"/> contains rules for apply, false in other case.
+ </summary>
+ </member>
+ <member name="F:NHibernate.Validator.Engine.ClassValidator.userInterpolatorType">
+ <summary>
+ Used to create an instance when deserialize
+ </summary>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ClassValidator.#ctor(System.Type)">
+ <summary>
+ Create the validator engine for this entity type.
+ </summary>
+ <remarks>
+ Used in Unit Testing.
+ </remarks>
+ <param name="entityType"></param>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ClassValidator.#ctor(System.Type,System.Resources.ResourceManager,System.Globalization.CultureInfo,NHibernate.Validator.Engine.ValidatorMode)">
+ <summary>
+ Create the validator engine for a particular entity class, using a resource bundle
+ for message rendering on violation
+ </summary>
+ <remarks>
+ Used in Unit Testing.
+ </remarks>
+ <param name="entityType">entity type</param>
+ <param name="resourceManager"></param>
+ <param name="culture">The CultureInfo for the <paramref name="entityType"/>.</param>
+ <param name="validatorMode">Validator definition mode</param>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ClassValidator.#ctor(System.Type,System.Resources.ResourceManager,NHibernate.Validator.Engine.IMessageInterpolator,System.Globalization.CultureInfo,NHibernate.Validator.Engine.ValidatorMode)">
+ <summary>
+ Create the validator engine for a particular entity class, using a resource bundle
+ for message rendering on violation
+ </summary>
+ <remarks>
+ Used in Unit Testing.
+ </remarks>
+ <param name="entityType">entity type</param>
+ <param name="resourceManager"></param>
+ <param name="userInterpolator">Custom interpolator.</param>
+ <param name="culture">The CultureInfo for the <paramref name="entityType"/>.</param>
+ <param name="validatorMode">Validator definition mode</param>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ClassValidator.InitValidator(System.Type,System.Collections.Generic.IDictionary{System.Type,NHibernate.Validator.Engine.IClassValidator})">
+ <summary>
+ Initialize the <see cref="T:NHibernate.Validator.Engine.ClassValidator"/> type.
+ </summary>
+ <param name="clazz"></param>
+ <param name="childClassValidators"></param>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ClassValidator.GetInvalidValues(System.Object)">
+ <summary>
+ Apply constraints on a entity instance and return all the failures.
+ if <paramref name="entity"/> is null, an empty array is returned
+ </summary>
+ <param name="entity">object to apply the constraints</param>
+ <returns></returns>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ClassValidator.MakeChildValidation(System.Object,System.Object,System.Reflection.MemberInfo,Iesi.Collections.ISet,System.Collections.Generic.ICollection{NHibernate.Validator.Engine.InvalidValue})">
+ <summary>
+ Validate the child validation to objects and collections
+ </summary>
+ <param name="value">value to validate</param>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ClassValidator.GetClassValidator(System.Type)">
+ <summary>
+ Get the ClassValidator for the <paramref name="entityType"/>
+ parametter from <see cref="F:NHibernate.Validator.Engine.ClassValidator.childClassValidators"/>. If doesn't exist, a
+ new <see cref="T:NHibernate.Validator.Engine.ClassValidator"/> is returned.
+ </summary>
+ <param name="entityType">type</param>
+ <returns></returns>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ClassValidator.CreateValidator(System.Attribute)">
+ <summary>
+ Create a <see cref="T:NHibernate.Validator.Engine.IValidator"/> from a <see cref="T:NHibernate.Validator.Engine.ValidatorClassAttribute"/> attribute.
+ If the attribute is not a <see cref="T:NHibernate.Validator.Engine.ValidatorClassAttribute"/> type return null.
+ </summary>
+ <param name="attribute">attribute</param>
+ <returns>the validator for the attribute</returns>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ClassValidator.CreateChildValidator(System.Reflection.MemberInfo,System.Collections.Generic.IEnumerable{System.Attribute})">
+ <summary>
+ Create the validator for the children, who got the <see cref="T:NHibernate.Validator.Constraints.ValidAttribute"/>
+ on the fields or properties
+ </summary>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ClassValidator.AddSuperClassesAndInterfaces(System.Type,Iesi.Collections.Generic.ISet{System.Type})">
+ <summary>
+ Add recursively the inheritance tree of types (Classes and Interfaces)
+ to the parameter <paramref name="classes"/>
+ </summary>
+ <param name="clazz">Type to be analyzed</param>
+ <param name="classes">Collections of types</param>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ClassValidator.AssertValid(System.Object)">
+ <summary>
+ Assert a valid Object. A <see cref="T:NHibernate.Validator.Exceptions.InvalidStateException"/>
+ will be throw in a Invalid state.
+ </summary>
+ <param name="entity">Object to be asserted</param>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ClassValidator.GetPotentialInvalidValues(System.String,System.Object)">
+ <summary>
+ Apply constraints of a particular property value of a entity type and return all the failures.
+ The InvalidValue objects returns return null for InvalidValue#Entity and InvalidValue#RootEntity.
+ Note: this is not recursive.
+ </summary>
+ <param name="propertyName">Name of the property or field to validate</param>
+ <param name="value">Real value to validate. Is not an entity instance.</param>
+ <returns></returns>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ClassValidator.Apply(NHibernate.Mapping.PersistentClass)">
+ <summary>
+ Apply the registred constraints rules on the hibernate metadata (to be applied on DB schema)
+ </summary>
+ <param name="persistentClass">hibernate metadata</param>
+ </member>
+ <member name="P:NHibernate.Validator.Engine.ClassValidator.HasValidationRules">
+ <summary>
+ Return true if this <see cref="T:NHibernate.Validator.Engine.ClassValidator"/> contains rules for apply, false in other case.
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Engine.ClassValidator.JITClassValidatorFactory">
+ <summary>
+ Just In Time ClassValidatorFactory
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Engine.IMessageInterpolator">
+ <summary>
+ Responsible for validator message interpolation (variable replacement etc)
+ this extension point is useful if the call has some contextual informations to
+ interpolate in validator messages
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Engine.InvalidValue">
+ <summary>
+ A single violation of a class level or method level constraint.
+ </summary>
+ <remarks>
+ Created by <see cref="T:NHibernate.Validator.Engine.ClassValidator"/>. The ctor is public only for test scope.
+ </remarks>
+ </member>
+ <member name="T:NHibernate.Validator.Engine.IPersistentClassConstraint">
+ <summary>
+ Interface implemented by the validator
+ when a constraint may be represented in the
+ hibernate metadata
+ </summary>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.IPersistentClassConstraint.Apply(NHibernate.Mapping.PersistentClass)">
+ <summary>
+ Apply the constraint in the hibernate metadata
+ </summary>
+ <param name="persistentClass">PersistentClass</param>
+ </member>
+ <member name="T:NHibernate.Validator.Engine.ISharedEngineProvider">
+ <summary>
+ Contract for Shared Engine Provider
+ </summary>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ISharedEngineProvider.GetEngine">
+ <summary>
+ Provide the shared engine instance.
+ </summary>
+ <returns>The validator engine.</returns>
+ </member>
+ <member name="T:NHibernate.Validator.Engine.JITClassMappingFactory">
+ <summary>
+ Just In Time Class Mapping Factory
+ </summary>
+ <remarks>
+ The JITClassMappingFactory work outside the engine configuration.
+ </remarks>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.StateFullClassValidatorFactory.GetRootValidator(System.Type)">
+ <summary>
+ Get the validator for a type. If doesn't exists, will create one, add to the engine and return it.
+ </summary>
+ <param name="type">Type for the validator</param>
+ <returns>Validator encountered or created-and-added.</returns>
+ </member>
+ <member name="T:NHibernate.Validator.Engine.ValidatableElement">
+ <summary>
+ The element of an validation.
+ </summary>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatableElement.#ctor(System.Type,NHibernate.Validator.Engine.IClassValidator)">
+ <summary>
+ Create a new instance of <see cref="T:NHibernate.Validator.Engine.ValidatableElement"/> for a root element.
+ </summary>
+ <param name="entityType">The type of the entity.</param>
+ <param name="validator">The validator.</param>
+ <remarks>
+ The root element is the entity it self.
+ </remarks>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatableElement.#ctor(System.Type,NHibernate.Validator.Engine.IClassValidator,NHibernate.Properties.IGetter)">
+ <summary>
+ Create a new instance of <see cref="T:NHibernate.Validator.Engine.ValidatableElement"/> for a composite element.
+ </summary>
+ <param name="entityType">The type of the composite element.</param>
+ <param name="validator">The validator of the composite element.</param>
+ <param name="getter">The getter of the composite element inside the root entity.</param>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatableElement.AddSubElement(NHibernate.Validator.Engine.ValidatableElement)">
+ <summary>
+ Add a <see cref="T:NHibernate.Validator.Engine.ValidatableElement"/>.
+ </summary>
+ <param name="subValidatableElement">The sub element</param>
+ <seealso cref="M:NHibernate.Validator.Engine.ValidatableElement.#ctor(System.Type,NHibernate.Validator.Engine.IClassValidator,NHibernate.Properties.IGetter)"/>
+ <seealso cref="P:NHibernate.Validator.Engine.ValidatableElement.SubElements"/>
+ </member>
+ <member name="P:NHibernate.Validator.Engine.ValidatableElement.EntityType">
+ <summary>
+ The type of the entity
+ </summary>
+ </member>
+ <member name="P:NHibernate.Validator.Engine.ValidatableElement.Validator">
+ <summary>
+ The validator of the <see cref="P:NHibernate.Validator.Engine.ValidatableElement.EntityType"/>.
+ </summary>
+ </member>
+ <member name="P:NHibernate.Validator.Engine.ValidatableElement.Getter">
+ <summary>
+ The getter of the composite element inside the root entity.
+ </summary>
+ </member>
+ <member name="P:NHibernate.Validator.Engine.ValidatableElement.SubElements">
+ <summary>
+ Composite Elements.
+ </summary>
+ </member>
+ <member name="P:NHibernate.Validator.Engine.ValidatableElement.HasSubElements">
+ <summary>
+ Has SubElements ?
+ </summary>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatorClassAttribute.#ctor(System.String)">
+ <summary>
+ In order to point to a validator in other assembly.
+ <code>
+ <example>
+ </example>
+ </code>
+ </summary>
+ <param name="fullAssemblyQualifyName"></param>
+ </member>
+ <member name="T:NHibernate.Validator.Engine.ValidatorEngine">
+ <summary>
+ The engine of NHibernate Validator
+ </summary>
+ <remarks>
+ The engine is the easy way to work with NHibernate.Validator.
+ It hold all class validators.
+ Usually an application will create a single <see cref="T:NHibernate.Validator.Engine.ValidatorEngine"/>.
+ </remarks>
+ <seealso cref="T:NHibernate.Validator.Cfg.Environment"/>
+ <seealso cref="T:NHibernate.Validator.Engine.ISharedEngineProvider"/>.
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatorEngine.Configure">
+ <summary>
+ Configure NHibernate.Validator using the <c>&lt;nhv-configuration&gt;</c> section
+ from the application config file, if found, or the file <c>nhvalidator.cfg.xml</c> if the
+ <c>&lt;nhv-configuration&gt;</c> section not include the session-factory configuration.
+ If both are found merge the two configuration.
+ </summary>
+ <remarks>
+ To configure NHibernate explicitly using <c>nhvalidator.cfg.xml</c>, appling merge/override
+ of the application configuration file, use this code:
+ <code>
+ configuration.Configure("path/to/nhvalidator.cfg.xml");
+ </code>
+ </remarks>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatorEngine.Configure(System.String)">
+ <summary>
+ Configure NHibernate.Validator using the file specified.
+ </summary>
+ <param name="configFilePath">The location of the XML file to use to configure NHibernate.Validator.</param>
+ <remarks>
+ Calling Configure(string) will override/merge the values set in app.config or web.config
+ </remarks>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatorEngine.Configure(System.Xml.XmlReader)">
+ <summary>
+ Configure NHibernate.Validator using the specified <see cref="T:System.Xml.XmlReader"/>.
+ </summary>
+ <param name="configReader">The <see cref="T:System.Xml.XmlReader"/> that contains the Xml to configure NHibernate.Validator.</param>
+ <remarks>
+ Calling Configure(XmlReader) will overwrite the values set in app.config or web.config
+ </remarks>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatorEngine.Configure(NHibernate.Validator.Cfg.INHVConfiguration)">
+ <summary>
+ Configure NHibernate.Validator using the specified <see cref="T:NHibernate.Validator.Cfg.INHVConfiguration"/>.
+ </summary>
+ <param name="config">The <see cref="T:NHibernate.Validator.Cfg.INHVConfiguration"/> that is the configuration reader to configure NHibernate.Validator.</param>
+ <remarks>
+ Calling Configure(INHVConfiguration) will overwrite the values set in app.config or web.config.
+ <para>
+ You can use this overload is you are working with Attributes or Xml-files.
+ </para>
+ </remarks>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatorEngine.Configure(NHibernate.Validator.Cfg.INHVConfiguration,NHibernate.Validator.Cfg.IMappingLoader)">
+ <summary>
+ Configure NHibernate.Validator using the specified <see cref="T:NHibernate.Validator.Cfg.INHVConfiguration"/>.
+ </summary>
+ <param name="config">The <see cref="T:NHibernate.Validator.Cfg.INHVConfiguration"/> that is the configuration reader to configure NHibernate.Validator.</param>
+ <param name="mappingLoader">The <see cref="T:NHibernate.Validator.Cfg.XmlMappingLoader"/> instance.</param>
+ <remarks>
+ Calling Configure(INHVConfiguration) will overwrite the values set in app.config or web.config
+ </remarks>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatorEngine.Validate(System.Object)">
+ <summary>
+ Apply constraints/rules on a entity instance.
+ </summary>
+ <param name="entity">The entity instance to validate</param>
+ <returns>All the failures or an empty array if <paramref name="entity"/> is null.</returns>
+ <remarks>
+ If the <see cref="T:System.Type"/> of the <paramref name="entity"/> was never inspected, or
+ it was not configured, the <see cref="T:NHibernate.Validator.Engine.IClassValidator"/> will be automatic added to the engine.
+ </remarks>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatorEngine.IsValid(System.Object)">
+ <summary>
+ Apply constraints/rules on a entity instance.
+ </summary>
+ <param name="entity">The entity instance to validate</param>
+ <returns>
+ False if there is one or more the failures; True otherwise (including when <paramref name="entity"/> is null).
+ </returns>
+ <remarks>
+ If the <see cref="T:System.Type"/> of the <paramref name="entity"/> was never inspected, or
+ it was not configured, the <see cref="T:NHibernate.Validator.Engine.IClassValidator"/> will be automatic added to the engine.
+ </remarks>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatorEngine.AssertValid(System.Object)">
+ <summary>
+ Assert a valid entity.
+ </summary>
+ <param name="entity">The entity instance to validate</param>
+ <exception cref="T:NHibernate.Validator.Exceptions.InvalidStateException">when <paramref name="entity"/> have an invalid state.</exception>
+ <remarks>
+ If the <see cref="T:System.Type"/> of the <paramref name="entity"/> was never inspected, or
+ it was not configured, the <see cref="T:NHibernate.Validator.Engine.IClassValidator"/> will be automatic added to the engine.
+ </remarks>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatorEngine.ValidatePropertyValue``1(System.String,System.Object)">
+ <summary>
+ Use the <see cref="M:NHibernate.Validator.Engine.ClassValidator.GetPotentialInvalidValues(System.String,System.Object)"/> for a given <see cref="T:System.Type"/>.
+ </summary>
+ <typeparam name="T">The entity type</typeparam>
+ <param name="propertyName">The name of a property</param>
+ <param name="value">The value of the property.</param>
+ <returns>All the invalid values.</returns>
+ <remarks>
+ If the <typeparamref name="T"/> was never inspected, or
+ it was not configured, the <see cref="T:NHibernate.Validator.Engine.IClassValidator"/> will be automatic added to the engine.
+ </remarks>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatorEngine.ValidatePropertyValue``2(System.Linq.Expressions.Expression{System.Func{``0,``1}},``1)">
+ <summary>
+ Use the <see cref="M:NHibernate.Validator.Engine.ClassValidator.GetPotentialInvalidValues(System.String,System.Object)"/> for a given <see cref="T:System.Type"/>.
+ </summary>
+ <typeparam name="TEntity">The entity type</typeparam>
+ <typeparam name="TProperty">The property type.</typeparam>
+ <param name="expression">The lamda expression of the property getter.</param>
+ <param name="value">The potencial value of the property.</param>
+ <remarks>
+ If the <typeparamref name="TEntity"/> was never inspected, or
+ it was not configured, the <see cref="T:NHibernate.Validator.Engine.IClassValidator"/> will be automatic added to the engine.
+ </remarks>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatorEngine.ValidatePropertyValue(System.Object,System.String)">
+ <summary>
+ Use the <see cref="M:NHibernate.Validator.Engine.ClassValidator.GetPotentialInvalidValues(System.String,System.Object)"/> for a given entity instance.
+ </summary>
+ <param name="entity">The entity instance to validate</param>
+ <param name="propertyName">The name of a property</param>
+ <returns>All the invalid values.</returns>
+ <remarks>
+ If the <see cref="T:System.Type"/> of the <paramref name="entity"/> was never inspected, or
+ it was not configured, the <see cref="T:NHibernate.Validator.Engine.IClassValidator"/> will be automatic added to the engine.
+ </remarks>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatorEngine.ValidatePropertyValue(System.Type,System.String,System.Object)">
+ <summary>
+ Use the <see cref="M:NHibernate.Validator.Engine.ClassValidator.GetPotentialInvalidValues(System.String,System.Object)"/> for a given entity instance.
+ </summary>
+ <param name="entityType">The entity instance to validate</param>
+ <param name="propertyName">The name of a property</param>
+ <param name="value">The value of the property.</param>
+ <returns>All the invalid values.</returns>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatorEngine.AddValidator``1">
+ <summary>
+ Add a validator to the engine or override existing one.
+ </summary>
+ <typeparam name="T">The type of an entity.</typeparam>
+ <remarks>
+ Create an istance of <see cref="T:NHibernate.Validator.Engine.IClassValidator"/> for the given <typeparamref name="T"/>.
+ </remarks>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatorEngine.AddValidator``1(NHibernate.Validator.Engine.IValidatableSubElementsInspector)">
+ <summary>
+ Add a validator to the engine or override existing one.
+ </summary>
+ <typeparam name="T">The type of an entity.</typeparam>
+ <param name="inspector">Inspector for sub-elements</param>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatorEngine.GetValidator``1">
+ <summary>
+ Gets an acquaintance <see cref="T:NHibernate.Validator.Engine.IClassValidator"/>.
+ </summary>
+ <typeparam name="T">The type of an entity.</typeparam>
+ <returns>A acquaintance <see cref="T:NHibernate.Validator.Engine.IClassValidator"/> for the give type
+ or null if the the <typeparamref name="T"/> was never used in the engine instance.</returns>
+ </member>
+ <member name="M:NHibernate.Validator.Engine.ValidatorEngine.GetClassValidator(System.Type)">
+ <summary>
+ Gets a <see cref="T:NHibernate.Validator.Engine.IClassValidator"/> for a given <see cref="T:System.Type"/>
+ </summary>
+ <param name="entityType">The given <see cref="T:System.Type"/>.</param>
+ <returns>
+ A validator for a <see cref="T:System.Type"/> or null if the <paramref name="entityType"/>
+ is not supported by <see cref="T:NHibernate.Validator.Engine.ClassValidator"/>.
+ </returns>
+ <remarks>
+ In general a common application don't need to use this method but it can be useful for some kind of framework.
+ </remarks>
+ </member>
+ <member name="P:NHibernate.Validator.Engine.ValidatorEngine.Interpolator">
+ <summary>
+ Default MessageInterpolator
+ </summary>
+ </member>
+ <member name="P:NHibernate.Validator.Engine.ValidatorEngine.DefaultMode">
+ <summary>
+ Default Mode to construct validators
+ </summary>
+ </member>
+ <member name="P:NHibernate.Validator.Engine.ValidatorEngine.ApplyToDDL">
+ <summary>
+ Database schema-level validation enabled
+ </summary>
+ </member>
+ <member name="P:NHibernate.Validator.Engine.ValidatorEngine.AutoRegisterListeners">
+ <summary>
+ NHibernate event-based validation
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Engine.ValidatorMode">
+ <summary>
+ Define how to investigate validators of a class.
+ </summary>
+ </member>
+ <member name="F:NHibernate.Validator.Engine.ValidatorMode.UseAttribute">
+ <summary>
+ Validators are discovered, by reflection, only investigating the class attributes
+ </summary>
+ </member>
+ <member name="F:NHibernate.Validator.Engine.ValidatorMode.UseExternal">
+ <summary>
+ Validator are discovered only parsing the xml of the class
+ </summary>
+ </member>
+ <member name="F:NHibernate.Validator.Engine.ValidatorMode.OverrideAttributeWithExternal">
+ <summary>
+ Validators are discovered, by reflection, investigating the class attributes
+ and then using the xml(or any other external source), merging both.
+ Conflicts are solved using xml-configuration over attribute-configuration.
+ </summary>
+ </member>
+ <member name="F:NHibernate.Validator.Engine.ValidatorMode.OverrideExternalWithAttribute">
+ <summary>
+ Validators are discovered, by reflection, investigating the class attributes
+ and then using the xml(or any other external source), merging both.
+ Conflicts are solved using attribute-configuration over xml-configuration.
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Event.ValidateEventListener">
+ <summary>
+ Common environment for insert and update NH event listeners
+ </summary>
+ </member>
+ <member name="T:NHibernate.Validator.Event.ValidatePreInsertEventListener">
+ <summary>
+ Before insert, executes the validator framework
+ </summary>
+ <remarks>
+ Because, usually, we validate on insert and on update we are
+ using the same environment for PreInsert and PreUpdate event listeners,
+ the initialization of the environment (the ValidatorEngine) was or will be done in
+ ValidatePreInsertEventListener by NH.
+ This give us better performance on NH startup.
+ </remarks>
+ </member>
+ <member name="M:NHibernate.Validator.Event.ValidatePreInsertEventListener.Initialize(NHibernate.Cfg.Configuration)">
+ <summary>
+ Initialize the validators, any non significant validators are not kept
+ </summary>
+ <param name="cfg"></param>
+ </member>
+ <member name="T:NHibernate.Validator.Event.ValidatePreUpdateEventListener">
+ <summary>
+ Before update, executes the validator framework
+ </summary>
+ <remarks>
+ Because, usually, we validate on insert and on update we are
+ using the same environment for PreInsert and PreUpdate event listeners,
+ the initialization of the environment (the ValidatorEngine) was or will be done in
+ ValidatePreInsertEventListener b