BionicCode.Net
BionicCode.Net
BionicCode.Utilities.Net Namespaces
BionicCode.Utilities.Net.Standard Namespaces
BionicCode.Utilities.Net.Standard
EventAggregator Class
EventAggregator Methods
TryRemoveObserver Method
TryRemoveObserver Method (String, Type, Delegate)
TryRemoveObserver(TEventArgs) Method (String, Type, EventHandler(TEventArgs))

| # EventAggregator TryRemoveObserver TEventArgs Method (String, Type, EventHandler TEventArgs )

[Missing <summary> documentation for "M:BionicCode.Utilities.Net.Standard.EventAggregator.TryRemoveObserver``1(System.String,System.Type,System.EventHandler{``0})"]

Namespace: BionicCode.Utilities.Net.Standard
Assembly: BionicCode.Utilities.Net.Standard (in BionicCode.Utilities.Net.Standard.dll) Version: 1.0.0
Syntax
C#
VB
C++
F#
J#
JScript
JavaScript
ASP.NET
X#
Copy

    public bool TryRemoveObserver<TEventArgs>(
    	string eventName,
    	Type eventSourceType,
    	EventHandler<TEventArgs> eventHandler
    )

    Public Function TryRemoveObserver(Of TEventArgs) (
    	eventName As String,
    	eventSourceType As Type,
    	eventHandler As EventHandler(Of TEventArgs)
    ) As Boolean

    Dim instance As EventAggregator
    Dim eventName As String
    Dim eventSourceType As Type
    Dim eventHandler As EventHandler(Of TEventArgs)
    Dim returnValue As Boolean

    returnValue = instance.TryRemoveObserver(eventName,
    	eventSourceType, eventHandler)

    public:
    generic<typename TEventArgs>
    virtual bool TryRemoveObserver(
    	String^ eventName,
    	Type^ eventSourceType,
    	EventHandler<TEventArgs>^ eventHandler
    ) sealed

    abstract TryRemoveObserver :
            eventName : string *
            eventSourceType : Type *
            eventHandler : EventHandler<'TEventArgs> -> bool
    override TryRemoveObserver :
            eventName : string *
            eventSourceType : Type *
            eventHandler : EventHandler<'TEventArgs> -> bool

    J# supports the use of generic APIs, but not the declaration of new ones.

    JScript does not support generic types or methods.

    JavaScript does not support generic types or methods.

     METHOD TryRemoveObserver<TEventArgs>(
    	eventName AS STRING,
    	eventSourceType AS Type,
    	eventHandler AS EventHandler<TEventArgs>
    )
     AS LOGIC

#### Parameters

eventName
  Type: System
  String

  [Missing <param name="eventName"/> documentation for "M:BionicCode.Utilities.Net.Standard.EventAggregator.TryRemoveObserver``1(System.String,System.Type,System.EventHandler{``0})"]

eventSourceType
  Type: System
  Type

  [Missing <param name="eventSourceType"/> documentation for "M:BionicCode.Utilities.Net.Standard.EventAggregator.TryRemoveObserver``1(System.String,System.Type,System.EventHandler{``0})"]

eventHandler
  Type: System
  EventHandler
  TEventArgs

  [Missing <param name="eventHandler"/> documentation for "M:BionicCode.Utilities.Net.Standard.EventAggregator.TryRemoveObserver``1(System.String,System.Type,System.EventHandler{``0})"]

#### Type Parameters

TEventArgs

  [Missing <typeparam name="TEventArgs"/> documentation for "M:BionicCode.Utilities.Net.Standard.EventAggregator.TryRemoveObserver``1(System.String,System.Type,System.EventHandler{``0})"]

#### Return Value

Type: Boolean

[Missing <returns> documentation for "M:BionicCode.Utilities.Net.Standard.EventAggregator.TryRemoveObserver``1(System.String,System.Type,System.EventHandler{``0})"]

#### Implements

IEventAggregator
TryRemoveObserver
TEventArgs
(String, Type, EventHandler
TEventArgs
)
See Also

#### Reference

EventAggregator Class
TryRemoveObserver Overload
BionicCode.Utilities.Net.Standard Namespace
Send comments on this topic to BionicCode@outlook.com
https://github.com/BionicCode/BionicCode.Net/blob/master/README.md