Skip to main content

IEventInfoMethods

Trait IEventInfoMethods 

Source
pub trait IEventInfoMethods: IEventInfo {
    // Provided methods
    fn get_attributes(self) -> EventAttributes { ... }
    fn get_event_handler_type(self) -> SystemType { ... }
    fn get_is_special_name(self) -> bool { ... }
    fn get_member_type(self) -> MemberTypes { ... }
    fn ctor(self) { ... }
    fn get_add_method(self, non_public: impl Into<bool>) -> MethodInfo { ... }
    fn get_raise_method(self, non_public: impl Into<bool>) -> MethodInfo { ... }
    fn get_remove_method(self, non_public: impl Into<bool>) -> MethodInfo { ... }
    fn equals(self, obj: impl Into<Object>) -> bool { ... }
    fn get_hash_code(self) -> i32 { ... }
}

Provided Methods§

Source

fn get_attributes(self) -> EventAttributes

get_Attributes() overload

Source

fn get_event_handler_type(self) -> SystemType

get_EventHandlerType() overload

Source

fn get_is_special_name(self) -> bool

get_IsSpecialName() overload

Source

fn get_member_type(self) -> MemberTypes

get_MemberType() overload

Source

fn ctor(self)

.ctor() overload

Source

fn get_add_method(self, non_public: impl Into<bool>) -> MethodInfo

GetAddMethod(bool) overload

Source

fn get_raise_method(self, non_public: impl Into<bool>) -> MethodInfo

GetRaiseMethod(bool) overload

Source

fn get_remove_method(self, non_public: impl Into<bool>) -> MethodInfo

GetRemoveMethod(bool) overload

Source

fn equals(self, obj: impl Into<Object>) -> bool

Equals(crate::system::object::Object) overload

Source

fn get_hash_code(self) -> i32

GetHashCode() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IEventInfo> IEventInfoMethods for __T

Available on crate feature system-reflection-eventinfo only.