.NET 이벤트에 대한 보낸 사람 및 이벤트 인수를 캡슐화합니다.
상속 계층 구조
System.Object
System.Reactive.EventPattern<TEventArgs>
네임스페이스:System.Reactive
어셈블리: System.Reactive(System.Reactive.dll)
Syntax
'Declaration
Public Class EventPattern(Of TEventArgs As EventArgs) _
Implements IEquatable(Of EventPattern(Of TEventArgs))
'Usage
Dim instance As EventPattern(Of TEventArgs)
public class EventPattern<TEventArgs> : IEquatable<EventPattern<TEventArgs>>
where TEventArgs : EventArgs
generic<typename TEventArgs>
where TEventArgs : EventArgs
public ref class EventPattern : IEquatable<EventPattern<TEventArgs>^>
type EventPattern<'TEventArgs when 'TEventArgs : EventArgs> =
class
interface IEquatable<EventPattern<'TEventArgs>>
end
JScript does not support generic types and methods.
형식 매개 변수
- TEventArgs
EventPattern<TEventArgs> 형식은 다음 멤버를 노출합니다.
생성자
| 속성 | Description | |
|---|---|---|
|
EventPattern<TEventArgs> | EventPattern<TEventArgs> 유형의 새 instance 초기화합니다. |
상위
속성
| 속성 | Description | |
|---|---|---|
|
EventArgs | .NET 이벤트에 대한 이벤트 인수를 나타냅니다. |
|
보낸 사람 | .NET 이벤트에 대한 이벤트 보낸 사람 정보를 나타냅니다. |
상위
메서드
| 속성 | Description | |
|---|---|---|
|
Equals(Object) | 이 형식을 지정된 개체와 비교합니다. ( Object.Equals(Object)를 재정의합니다.) |
|
Equals(EventPattern<TEventArgs>) | 이 형식을 지정된 개체와 비교합니다. |
|
Finalize | ( 개체에서 상속됩니다.) |
|
GetHashCode | ( Object.GetHashCode()를 재정의합니다.) |
|
GetType | ( 개체에서 상속됩니다.) |
|
MemberwiseClone | ( 개체에서 상속됩니다.) |
|
ToString | ( 개체에서 상속됩니다.) |
상위
연산자
| 속성 | Description | |
|---|---|---|
|
등호 | 두 개체를 비교하여 동일한지 확인합니다. |
|
같지 않음 | 두 개체를 비교하여 동일한지 확인합니다. |
상위
설명
FromEventPattern 연산자는 개체 보낸 사람 및 일부 EventArgs를 사용하는 이벤트와 함께 작동하며 리플렉션을 사용하여 추가/제거 메서드를 찾습니다. 그런 다음, 지정된 이벤트를 보낸 사람과 이벤트 인수를 모두 캡처하는 EventPattern 형식을 사용하여 관찰 가능한 시퀀스로 변환합니다.
스레드 보안
이 형식의 모든 public static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 구성원은 스레드로부터의 안전성이 보장되지 않습니다.