Exemplo n.º 1
0
 /// <summary>
 ///   <para>Patches an original method with a prefix-method called "<paramref name="type"/>_<paramref name="methodName"/>" in this <see cref="TypeWithPatches"/>.</para>
 /// </summary>
 public bool Prefix(Type type, string methodName, Type[] types = null) => myPlugin.PatchPrefix(type, methodName, TypeWithPatches, type.Name + '_' + methodName, types);