CSL.NetworkExtensions.Framework.Unsafe.MethodInfoExtensions.RedirectTo C# (CSharp) Method

RedirectTo() public static method

public static RedirectTo ( this originalMethod, MethodInfo newMethod ) : IDisposable
originalMethod this
newMethod System.Reflection.MethodInfo
return IDisposable
        public static IDisposable RedirectTo(this MethodInfo originalMethod, MethodInfo newMethod)
        {
            return new MethodRedirection(originalMethod, newMethod);
        }
    }
MethodInfoExtensions