Esempio n. 1
0
 public static void Initialise(
     IDLogger logger,
     Func <ClipboardObfuscatorGeneratedFakeEventArgs, Task> action)
 {
     _instance = CreateDefault(
         logger,
         action);
 }
Esempio n. 2
0
        private static ClipboardObfuscator CreateDefault(
            IDLogger logger,
            Func <ClipboardObfuscatorGeneratedFakeEventArgs, Task> action)
        {
            ClipboardObfuscator instance = new ClipboardObfuscator(
                logger,
                true,
                true,
                action);

            return(instance);
        }