BionicCode.Net
BionicCode.Net
BionicCode.Utilities.Net Namespaces
BionicCode.Utilities.Net.Standard Namespaces
BionicCode.Utilities.Net.Standard
EventAggregator Class
EventAggregator Methods
TryRemoveObservable Method
TryRemoveObservable Method (Object, Boolean)
TryRemoveObservable Method (Object, IEnumerable(String), Boolean)

| # EventAggregator TryRemoveObservable Method (Object, Boolean)

[Missing <summary> documentation for "M:BionicCode.Utilities.Net.Standard.EventAggregator.TryRemoveObservable(System.Object,System.Boolean)"]

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 TryRemoveObservable(
    	Object eventSource,
    	bool removeObserversOfEvents = false
    )

    Public Function TryRemoveObservable (
    	eventSource As Object,
    	Optional removeObserversOfEvents As Boolean = false
    ) As Boolean

    Dim instance As EventAggregator
    Dim eventSource As Object
    Dim removeObserversOfEvents As Boolean
    Dim returnValue As Boolean

    returnValue = instance.TryRemoveObservable(eventSource,
    	removeObserversOfEvents)

    public:
    virtual bool TryRemoveObservable(
    	Object^ eventSource,
    	bool removeObserversOfEvents = false
    ) sealed

    abstract TryRemoveObservable :
            eventSource : Object *
            ?removeObserversOfEvents : bool
    (* Defaults:
            let _removeObserversOfEvents = defaultArg removeObserversOfEvents false
    *)
    -> bool
    override TryRemoveObservable :
            eventSource : Object *
            ?removeObserversOfEvents : bool
    (* Defaults:
            let _removeObserversOfEvents = defaultArg removeObserversOfEvents false
    *)
    -> bool

    public final boolean TryRemoveObservable(
    	Object eventSource,
    	boolean removeObserversOfEvents = false
    )

    public final function TryRemoveObservable(
    	eventSource : Object,
    	removeObserversOfEvents : boolean
    ) : boolean

    function TryRemoveObservable(eventSource, removeObserversOfEvents);

     METHOD TryRemoveObservable(
    	eventSource AS Object,
    	removeObserversOfEvents AS LOGIC := FALSE
    ) AS LOGIC

#### Parameters

eventSource
  Type: System
  Object

  [Missing <param name="eventSource"/> documentation for "M:BionicCode.Utilities.Net.Standard.EventAggregator.TryRemoveObservable(System.Object,System.Boolean)"]

removeObserversOfEvents (Optional)
  Type: System
  Boolean

  [Missing <param name="removeObserversOfEvents"/> documentation for "M:BionicCode.Utilities.Net.Standard.EventAggregator.TryRemoveObservable(System.Object,System.Boolean)"]

#### Return Value

Type: Boolean

[Missing <returns> documentation for "M:BionicCode.Utilities.Net.Standard.EventAggregator.TryRemoveObservable(System.Object,System.Boolean)"]

#### Implements

IEventAggregator
TryRemoveObservable(Object, Boolean)
See Also

#### Reference

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