Esempio n. 1
0
        public UseComplexDllByStatic()
        {
            NameEntityType allType = NameEntityType.OrganizationName | NameEntityType.PersonName | NameEntityType.PlaceName;

            _handle = CreateNameFinderInstance(allType);
        }
Esempio n. 2
0
 private extern static bool CreateNameEntity(
     NameFinderSafeHandle hHandle, out IntPtr namePtr);
Esempio n. 3
0
 public UseComplexDllByStatic(NameEntityType type)
 {
     _handle = CreateNameFinderInstance(type);
 }
Esempio n. 4
0
 private extern static bool CreateNameEntitys(
     NameFinderSafeHandle hHandle,
     string text,
     out IntPtr nameArray,
     ref uint arraySize);
Esempio n. 5
0
 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);
 }