using System;
using System.Reflection;
namespace System.Runtime.InteropServices
{
/// Exposes the public members of the class to unmanaged code.
// Token: 0x02000371 RID: 881
[CLSCompliant(false)]
[ComVisible(true)]
[TypeLibImportClass(typeof(EventInfo))]
[Guid("9DE59C64-D889-35A1-B897-587D74469E5B")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface _EventInfo
{
/// Provides COM objects with version-independent access to the method.
/// The event source.
/// A method or methods to be invoked when the event is raised by the target.
// Token: 0x06002419 RID: 9241
void AddEventHandler(object target, Delegate handler);
/// Provides COM objects with version-independent access to the method.
/// true if the specified is equal to the current ; otherwise, false.
/// The to compare with the current .
// Token: 0x0600241A RID: 9242
bool Equals(object other);
/// Provides COM objects with version-independent access to the method.
/// A object representing the method used to add an event-handler delegate to the event source.
// Token: 0x0600241B RID: 9243
MethodInfo GetAddMethod();
/// Provides COM objects with version-independent access to the method.
/// A object representing the method used to add an event-handler delegate to the event source.
/// true to return non-public methods; otherwise, false.
// Token: 0x0600241C RID: 9244
MethodInfo GetAddMethod(bool nonPublic);
/// Provides COM objects with version-independent access to the method.
/// An array that contains all the custom attributes, or an array with zero (0) elements if no attributes are defined.
/// true to search a member's inheritance chain to find the attributes; otherwise, false.
// Token: 0x0600241D RID: 9245
object[] GetCustomAttributes(bool inherit);
/// Provides COM objects with version-independent access to the method.
/// An array of custom attributes applied to this member, or an array with zero (0) elements if no attributes have been applied.
/// The type of attribute to search for. Only attributes that are assignable to this type are returned.
/// true to search this member's inheritance chain to find the attributes; otherwise, false.
// Token: 0x0600241E RID: 9246
object[] GetCustomAttributes(Type attributeType, bool inherit);
/// Provides COM objects with version-independent access to the method.
/// The hash code for the current instance.
// Token: 0x0600241F RID: 9247
int GetHashCode();
/// Maps a set of names to a corresponding set of dispatch identifiers.
/// Reserved for future use. Must be IID_NULL.
/// An array of names to be mapped.
/// The count of the names to be mapped.
/// The locale context in which to interpret the names.
/// An array allocated by the caller that receives the identifiers corresponding to the names.
// Token: 0x06002420 RID: 9248
void GetIDsOfNames([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
/// Retrieves the type information for an object, which can be used to get the type information for an interface.
/// The type information to return.
/// The locale identifier for the type information.
/// A pointer to the requested type information object.
// Token: 0x06002421 RID: 9249
void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
/// Retrieves the number of type information interfaces that an object provides (either 0 or 1).
/// When this method returns, contains a pointer to a location that receives the number of type information interfaces provided by the object. This parameter is passed uninitialized.
// Token: 0x06002422 RID: 9250
void GetTypeInfoCount(out uint pcTInfo);
/// Provides access to properties and methods exposed by an object.
/// An identifier for the member.
/// Reserved for future use. Must be IID_NULL.
/// The locale context in which to interpret arguments.
/// Flags describing the context of the call.
/// A pointer to a structure containing an array of arguments, an array of argument DISPIDs for named arguments, and counts for the number of elements in the arrays.
/// A pointer to the location where the result will be stored.
/// A pointer to a structure that contains exception information.
/// The index of the first argument that has an error.
// Token: 0x06002423 RID: 9251
void Invoke(uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
/// Provides COM objects with version-independent access to the method.
/// The method that is called when the event is raised.
// Token: 0x06002424 RID: 9252
MethodInfo GetRaiseMethod();
/// Provides COM objects with version-independent access to the method.
/// The object that was called when the event was raised.
/// true to return non-public methods; otherwise, false.
// Token: 0x06002425 RID: 9253
MethodInfo GetRaiseMethod(bool nonPublic);
/// Provides COM objects with version-independent access to the method.
/// A object representing the method used to remove an event-handler delegate from the event source.
// Token: 0x06002426 RID: 9254
MethodInfo GetRemoveMethod();
/// Provides COM objects with version-independent access to the method.
/// A object representing the method used to remove an event-handler delegate from the event source.
/// true to return non-public methods; otherwise, false.
// Token: 0x06002427 RID: 9255
MethodInfo GetRemoveMethod(bool nonPublic);
/// Provides COM objects with version-independent access to the method.
/// A object.
// Token: 0x06002428 RID: 9256
Type GetType();
/// Provides COM objects with version-independent access to the method.
/// true if one or more instance of the parameter is applied to this member; otherwise, false.
/// The Type object to which the custom attributes are applied.
/// true to search this member's inheritance chain to find the attributes; otherwise, false.
// Token: 0x06002429 RID: 9257
bool IsDefined(Type attributeType, bool inherit);
/// Provides COM objects with version-independent access to the method.
/// The event source.
/// The delegate to be disassociated from the events raised by target.
// Token: 0x0600242A RID: 9258
void RemoveEventHandler(object target, Delegate handler);
/// Provides COM objects with version-independent access to the method.
/// A string that represents the current .
// Token: 0x0600242B RID: 9259
string ToString();
/// Provides COM objects with version-independent access to the property.
/// The read-only attributes for this event.
// Token: 0x1700067D RID: 1661
// (get) Token: 0x0600242C RID: 9260
EventAttributes Attributes { get; }
/// Provides COM objects with version-independent access to the property.
/// The Type object for the class that declares this member.
// Token: 0x1700067E RID: 1662
// (get) Token: 0x0600242D RID: 9261
Type DeclaringType { get; }
/// Provides COM objects with version-independent access to the property.
/// A read-only object representing the delegate event handler.
// Token: 0x1700067F RID: 1663
// (get) Token: 0x0600242E RID: 9262
Type EventHandlerType { get; }
/// Provides COM objects with version-independent access to the property.
/// true if the delegate is an instance of a multicast delegate; otherwise, false.
// Token: 0x17000680 RID: 1664
// (get) Token: 0x0600242F RID: 9263
bool IsMulticast { get; }
/// Provides COM objects with version-independent access to the property.
/// true if this event has a special name; otherwise, false.
// Token: 0x17000681 RID: 1665
// (get) Token: 0x06002430 RID: 9264
bool IsSpecialName { get; }
/// Provides COM objects with version-independent access to the property.
/// A value indicating that this member is an event.
// Token: 0x17000682 RID: 1666
// (get) Token: 0x06002431 RID: 9265
MemberTypes MemberType { get; }
/// Provides COM objects with version-independent access to the property.
/// A object containing the name of this member.
// Token: 0x17000683 RID: 1667
// (get) Token: 0x06002432 RID: 9266
string Name { get; }
/// Provides COM objects with version-independent access to the property.
/// The object that was used to obtain this object.
// Token: 0x17000684 RID: 1668
// (get) Token: 0x06002433 RID: 9267
Type ReflectedType { get; }
}
}