#if INTERACTIVE #load "../../src/ProvidedTypes.fsi" "../../src/ProvidedTypes.fs" #endif namespace FSharp.Data open FSharp.Data.Tdms module Helpers = type RawDataHelper = static member RawData<'T>(group, channel, index) = File.tryGetRawData<'T> group channel index |> Option.defaultValue [||] let rawData ty group channel index = let generic = typeof.GetMethod "RawData" let concrete = generic.MakeGenericMethod [| ty |] concrete.Invoke(null, [| group; channel; index |]) #if !IS_DESIGNTIME // Put the TypeProviderAssemblyAttribute in the runtime DLL, pointing to the design-time DLL [] do () #endif