Adds any embedded resource streams which pass the filter.

Namespace: NHibernate.Cfg.MappingSchema
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public void Add(
	Assembly assembly,
	IAssemblyResourceFilter filter
)
Visual Basic
Public Sub Add ( _
	assembly As Assembly, _
	filter As IAssemblyResourceFilter _
)
Visual C++
public:
void Add(
	Assembly^ assembly, 
	IAssemblyResourceFilter^ filter
)

Parameters

assembly
Type: System.Reflection..::..Assembly
An assembly containing embedded mapping documents.
filter
Type: NHibernate.Cfg.MappingSchema..::..IAssemblyResourceFilter
A custom filter.

See Also