Summary
AppKitObservableForProperty is an object that knows how to
create notifications for a given type of object. Implement this if you
are porting RxUI to a new UI toolkit, or generally want to enable WhenAny
for another type of object that can be observed in a unique way.
- Namespace
- ReactiveUI
- Interfaces
-
- I
Creates Observable For Property - IEnableLogger
- I
- Base Types
-
- object
- Observable
For Property Base
graph BT
Type-->Base0["ObservableForPropertyBase"]
click Base0 "/api/ReactiveUI/ObservableForPropertyBase"
Base0-->Base1["object"]
Type-.->Interface0["ICreatesObservableForProperty"]
click Interface0 "/api/ReactiveUI/ICreatesObservableForProperty"
Type-.->Interface1["IEnableLogger"]
Type["AppKitObservableForProperty"]
class Type type-node
Syntax
[Preserve]
public class AppKitObservableForProperty : ObservableForPropertyBase,
ICreatesObservableForProperty, IEnableLogger
Attributes
Type | Description |
---|---|
PreserveAttribute |
Constructors
Name | Summary |
---|---|
App |
Initializes a new instance of the AppKitObservableForProperty class.
|
Properties
Name | Value | Summary |
---|---|---|
Affinity | int |
Inherited from Observable
|
CreateObservable | Func |
Inherited from Observable
|
Instance | Lazy |
Gets the App Kit ObservableForProperty instance.
static
|
Methods
Name | Value | Summary |
---|---|---|
GetAffinityForObject |
int |
Returns a positive integer when this class supports
GetNotificationForProperty for this particular Type. If the method
isn't supported at all, return a non-positive integer. When multiple
implementations return a positive value, the host will use the one
which returns the highest value. When in doubt, return '2' or '0'.
Inherited from Observable
|
Get |
IObservable |
Subscribe to notifications on the specified property, given an
object and a property name.
Inherited from Observable
|
ObservableFromEvent |
IObservable |
Creates an Observable for a NSNotificationCenter notification.
Inherited from Observable
static
|
Observable |
IObservable |
Creates an Observable for a NSNotificationCenter notification.
Inherited from Observable
static
|
Register |
void |
Registers an observable factory for the specified type and property.
Inherited from Observable
|