public TimelineProfilerInterop()

in managed/JetBrains.Timeline.Profiler.Api/Src/Impl/TimelineProfilerInterop.cs [57:65]


  public TimelineProfilerInterop(string binDir)
  {
    myLibrary = new NativeLibrary(Path.Combine(binDir,"profiler_timeline_api.dll"));

    RegisterProvider = myLibrary.GetNativeFunction<RegisterProviderDelegate>("RegisterProvider");
    UnregisterProvider = myLibrary.GetNativeFunction<UnregisterProviderDelegate>("UnregisterProvider");
    WriteDebugOutput = myLibrary.GetNativeFunction<WriteDebugOutputDelegate>("WriteDebugOutput");
    myReleaseString = myLibrary.GetNativeFunction<ReleaseStringDelegate>("ReleaseString");
  }