public static IDllImportXSample Create() { return(DllImportXFactory.Build <IDllImportXSample>(x => { x.DllName = ResolveLibraryPath(x.DllName); })); }
public DllImportXTestsSimple() : base(DllImportXFactory.Build <DllImportXSamplesInterface>(x => { x.IgnoreAttributes = true; x.DllName = (IntPtr.Size == 8 ? "x64/" : "x86/") + x.DllName; })) { }
public static IDllImportXSample CreateWithIgnoreAttributes() { return(DllImportXFactory.Build <IDllImportXSample>(x => { x.IgnoreAttributes = true; x.DllName = ResolveLibraryPath(x.DllName); })); }
public DllImportXTestsStrict() : base(DllImportXFactory.Build <DllImportXSamplesInterface>(x => { x.DllName = (IntPtr.Size == 8 ? "x64/" : "x86/") + x.DllName; })) { }