mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
* updatd ConsoleDriverFacade.CreateClipboard to honor FakeDriver.FakeBehaviors.UseFakeClipboard * Code cleanup of fake driver v2
21 lines
570 B
C#
21 lines
570 B
C#
#nullable enable
|
|
namespace Terminal.Gui.Drivers;
|
|
|
|
#pragma warning disable CS1591
|
|
public class FakeDriverFactory
|
|
{
|
|
/// <summary>
|
|
/// Creates a new instance of <see cref="FakeDriverV2"/> using default options
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public IFakeDriverV2 Create ()
|
|
{
|
|
return new FakeDriverV2 (
|
|
new (),
|
|
new (),
|
|
new (),
|
|
() => DateTime.Now,
|
|
new ());
|
|
}
|
|
}
|