public UseComplexDllByStatic() { NameEntityType allType = NameEntityType.OrganizationName | NameEntityType.PersonName | NameEntityType.PlaceName; _handle = CreateNameFinderInstance(allType); }
private extern static bool CreateNameEntity( NameFinderSafeHandle hHandle, out IntPtr namePtr);
public UseComplexDllByStatic(NameEntityType type) { _handle = CreateNameFinderInstance(type); }
private extern static bool CreateNameEntitys( NameFinderSafeHandle hHandle, string text, out IntPtr nameArray, ref uint arraySize);
private extern static bool Initialize(NameFinderSafeHandle hHandle, string resourcePath);
private static extern bool Initialize(NameFinderSafeHandle hHandle, string resourcePath);
private static extern bool FindNames( NameFinderSafeHandle hHandle, string text, out IntPtr nameArray, out uint arraySize);
public NameFinderWrapper(NameEntityType type) { _handle = CreateNameFinderInstance(type); }