public static T UseFFMpeg <T>(this AppBuilderBase <T> b, FFOptions fFMpegOptions) where T : AppBuilderBase <T>, new() { return(b.AfterSetup(_ => { GlobalFFOptions.Configure(fFMpegOptions); FFMpegHelper.VerifyFFMpegExists(fFMpegOptions); })); }
public static T UseVLCSharp <T>(this AppBuilderBase <T> b, LibVLCAvaloniaRenderingOptions?renderingOptions = null, string libvlcDirectoryPath = null) where T : AppBuilderBase <T>, new() { if (renderingOptions != null) { LibVLCAvaloniaOptions.RenderingOptions = renderingOptions.Value; } return(b.AfterSetup(_ => Core.Initialize(libvlcDirectoryPath))); }
public static T UseVLCSharp <T>(this AppBuilderBase <T> b, bool?useCutomDrawOperationRendering = null, string libvlcDirectoryPath = null) where T : AppBuilderBase <T>, new() { if (useCutomDrawOperationRendering != null) { LibVLCAvaloniaOptions.UseCustomDrawOperationRendering = useCutomDrawOperationRendering.Value; } return(b.AfterSetup(_ => Core.Initialize(libvlcDirectoryPath))); }
public static TAppBuilder UseMovere <TAppBuilder>(this AppBuilderBase <TAppBuilder> builder) where TAppBuilder : AppBuilderBase <TAppBuilder>, new() => builder.AfterSetup(RegisterMovereDialogs);
public static T UseVLCSharp <T>(this AppBuilderBase <T> b, string libvlcDirectoryPath = null) where T : AppBuilderBase <T>, new() { return(b.AfterSetup(_ => Core.Initialize(libvlcDirectoryPath))); }