Class DuplicateDetectorFactory
Default implementation of IDuplicateDetectorFactory
Implements
Inherited Members
Namespace: SuperOffice.CRM.Data.Util.Duplicates
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class DuplicateDetectorFactory : IDuplicateDetectorFactory
Constructors
DuplicateDetectorFactory(IServiceProvider)
Default constructor
Declaration
public DuplicateDetectorFactory(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | serviceProvider |
Methods
CreateDuplicateDetector(Type)
Create instance of duplcate detector providing reference to type of rule interface inheriting from IDuplicateRule
Declaration
public IDuplicateDetector CreateDuplicateDetector(Type ruleInterfaceType)
Parameters
Type | Name | Description |
---|---|---|
Type | ruleInterfaceType | Type of detector based on rule interface. Rule interface must inherit from IDuplicateRule |
Returns
Type | Description |
---|---|
IDuplicateDetector | Instance of duplicate detector |