From 3b6806d2db38b4c16e4d1750b01dfb0074c43209 Mon Sep 17 00:00:00 2001 From: Luke Hagar Date: Thu, 19 Sep 2024 06:10:10 +0000 Subject: [PATCH] cleaning --- PlexAPI/Hooks/HookRegistration.cs | 36 ------------------------------- 1 file changed, 36 deletions(-) delete mode 100644 PlexAPI/Hooks/HookRegistration.cs diff --git a/PlexAPI/Hooks/HookRegistration.cs b/PlexAPI/Hooks/HookRegistration.cs deleted file mode 100644 index 2e2fadf..0000000 --- a/PlexAPI/Hooks/HookRegistration.cs +++ /dev/null @@ -1,36 +0,0 @@ - -namespace PlexAPI.Hooks -{ - /// - /// Hook Registration File. - /// - /// - /// This file is only ever generated once on the first generation and then is free to be modified. - /// Any hooks you wish to add should be registered in the InitHooks function. Feel free to define them - /// in this file or in separate files in the Hooks folder. - /// - public static class HookRegistration - { - /// - /// Initializes hooks. - /// - /// - /// Add hooks by calling `PlexAPI.Hooks.Register<HookInterface>(myHook);` - /// where `I<HookInterface>` is one of the following interfaces defined in HookTypes.cs: - /// - ISDKInitHook - /// - IBeforeRequestHook - /// - IAfterSuccess - /// - IAfterError - /// and `myHook` an instance that implements that specific interface. - /// - public static void InitHooks(IHooks hooks) - { - // var myHook = new MyHook(); - - // hooks.RegisterSDKInitHook(myHook); - // hooks.RegisterBeforeRequestHook(myHook); - // hooks.RegisterAfterSuccessHook(myHook); - // hooks.RegisterAfterErrorHook(myHook; - } - } -} \ No newline at end of file