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

| # EventAggregator TryRegisterGlobalObserver TEventArgs Method (EventHandler TEventArgs )

[Missing <summary> documentation for "M:BionicCode.Utilities.Net.Standard.EventAggregator.TryRegisterGlobalObserver``1(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 TryRegisterGlobalObserver<TEventArgs>(
    	EventHandler<TEventArgs> eventHandler
    )

    Public Function TryRegisterGlobalObserver(Of TEventArgs) (
    	eventHandler As EventHandler(Of TEventArgs)
    ) As Boolean

    Dim instance As EventAggregator
    Dim eventHandler As EventHandler(Of TEventArgs)
    Dim returnValue As Boolean

    returnValue = instance.TryRegisterGlobalObserver(eventHandler)

    public:
    generic<typename TEventArgs>
    virtual bool TryRegisterGlobalObserver(
    	EventHandler<TEventArgs>^ eventHandler
    ) sealed

    abstract TryRegisterGlobalObserver :
            eventHandler : EventHandler<'TEventArgs> -> bool
    override TryRegisterGlobalObserver :
            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 TryRegisterGlobalObserver<TEventArgs>(
    	eventHandler AS EventHandler<TEventArgs>
    )
     AS LOGIC

#### Parameters

eventHandler
  Type: System
  EventHandler
  TEventArgs

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

#### Type Parameters

TEventArgs

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

#### Return Value

Type: Boolean

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

#### Implements

IEventAggregator
TryRegisterGlobalObserver
TEventArgs
(EventHandler
TEventArgs
)
See Also

#### Reference

EventAggregator Class
TryRegisterGlobalObserver 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