Adds the mappings from embedded resources of the assembly.
Namespace: NHibernate.CfgAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public Configuration AddResources( IEnumerable<string> paths, Assembly assembly ) |
Visual Basic |
---|
Public Function AddResources ( _ paths As IEnumerable(Of String), _ assembly As Assembly _ ) As Configuration |
Visual C++ |
---|
public: Configuration^ AddResources( IEnumerable<String^>^ paths, Assembly^ assembly ) |
Parameters
- paths
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'String>)>)>
Paths to the resource files in the assembly.
- assembly
- Type: System.Reflection..::..Assembly
The assembly that contains the resource files.