diff --git a/src/ReactiveUI.Android.Tests/Properties/AndroidManifest.xml b/src/ReactiveUI.Android.Tests/Properties/AndroidManifest.xml
index 7bafff66a5..f5a07e6f1c 100644
--- a/src/ReactiveUI.Android.Tests/Properties/AndroidManifest.xml
+++ b/src/ReactiveUI.Android.Tests/Properties/AndroidManifest.xml
@@ -1,5 +1,5 @@
-
-
-
+
+
+
\ No newline at end of file
diff --git a/src/ReactiveUI.Android.Tests/ReactiveUI.Android.Tests.csproj b/src/ReactiveUI.Android.Tests/ReactiveUI.Android.Tests.csproj
index 4b488e3c30..79babac030 100644
--- a/src/ReactiveUI.Android.Tests/ReactiveUI.Android.Tests.csproj
+++ b/src/ReactiveUI.Android.Tests/ReactiveUI.Android.Tests.csproj
@@ -17,7 +17,6 @@
Resources\Resource.designer.cs
Resource
Off
- false
v9.0
Properties\AndroidManifest.xml
Resources
diff --git a/src/ReactiveUI.AndroidSupport/ReactiveAppCompatActivity.cs b/src/ReactiveUI.AndroidSupport/ReactiveAppCompatActivity.cs
index db915c5598..0dfdf0580a 100644
--- a/src/ReactiveUI.AndroidSupport/ReactiveAppCompatActivity.cs
+++ b/src/ReactiveUI.AndroidSupport/ReactiveAppCompatActivity.cs
@@ -80,18 +80,10 @@ protected ReactiveAppCompatActivity(IntPtr handle, JniHandleOwnership ownership)
}
///
- public event PropertyChangingEventHandler PropertyChanging
- {
- add => PropertyChangingEventManager.AddHandler(this, value);
- remove => PropertyChangingEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangingEventHandler PropertyChanging;
///
- public event PropertyChangedEventHandler PropertyChanged
- {
- add => PropertyChangedEventManager.AddHandler(this, value);
- remove => PropertyChangedEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangedEventHandler PropertyChanged;
///
public IObservable> Changing => this.GetChangingObservable();
@@ -129,13 +121,13 @@ public event PropertyChangedEventHandler PropertyChanged
///
void IReactiveObject.RaisePropertyChanging(PropertyChangingEventArgs args)
{
- PropertyChangingEventManager.DeliverEvent(this, args);
+ PropertyChanging?.Invoke(this, args);
}
///
void IReactiveObject.RaisePropertyChanged(PropertyChangedEventArgs args)
{
- PropertyChangedEventManager.DeliverEvent(this, args);
+ PropertyChanged?.Invoke(this, args);
}
///
diff --git a/src/ReactiveUI.AndroidSupport/ReactiveDialogFragment.cs b/src/ReactiveUI.AndroidSupport/ReactiveDialogFragment.cs
index d8918b7ad9..800b5c08a0 100644
--- a/src/ReactiveUI.AndroidSupport/ReactiveDialogFragment.cs
+++ b/src/ReactiveUI.AndroidSupport/ReactiveDialogFragment.cs
@@ -63,18 +63,10 @@ protected ReactiveDialogFragment()
}
///
- public event PropertyChangingEventHandler PropertyChanging
- {
- add => PropertyChangingEventManager.AddHandler(this, value);
- remove => PropertyChangingEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangingEventHandler PropertyChanging;
///
- public event PropertyChangedEventHandler PropertyChanged
- {
- add => PropertyChangedEventManager.AddHandler(this, value);
- remove => PropertyChangedEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangedEventHandler PropertyChanged;
///
public IObservable ThrownExceptions => this.GetThrownExceptionsObservable();
@@ -98,13 +90,13 @@ public event PropertyChangedEventHandler PropertyChanged
///
void IReactiveObject.RaisePropertyChanging(PropertyChangingEventArgs args)
{
- PropertyChangingEventManager.DeliverEvent(this, args);
+ PropertyChanging?.Invoke(this, args);
}
///
void IReactiveObject.RaisePropertyChanged(PropertyChangedEventArgs args)
{
- PropertyChangedEventManager.DeliverEvent(this, args);
+ PropertyChanged?.Invoke(this, args);
}
///
diff --git a/src/ReactiveUI.AndroidSupport/ReactiveFragment.cs b/src/ReactiveUI.AndroidSupport/ReactiveFragment.cs
index 961965d468..c74f8b67c4 100644
--- a/src/ReactiveUI.AndroidSupport/ReactiveFragment.cs
+++ b/src/ReactiveUI.AndroidSupport/ReactiveFragment.cs
@@ -81,18 +81,10 @@ protected ReactiveFragment()
}
///
- public event PropertyChangingEventHandler PropertyChanging
- {
- add => PropertyChangingEventManager.AddHandler(this, value);
- remove => PropertyChangingEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangingEventHandler PropertyChanging;
///
- public event PropertyChangedEventHandler PropertyChanged
- {
- add => PropertyChangedEventManager.AddHandler(this, value);
- remove => PropertyChangedEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangedEventHandler PropertyChanged;
///
public IObservable ThrownExceptions => this.GetThrownExceptionsObservable();
@@ -116,13 +108,13 @@ public event PropertyChangedEventHandler PropertyChanged
///
void IReactiveObject.RaisePropertyChanging(PropertyChangingEventArgs args)
{
- PropertyChangingEventManager.DeliverEvent(this, args);
+ PropertyChanging?.Invoke(this, args);
}
///
void IReactiveObject.RaisePropertyChanged(PropertyChangedEventArgs args)
{
- PropertyChangedEventManager.DeliverEvent(this, args);
+ PropertyChanged?.Invoke(this, args);
}
///
diff --git a/src/ReactiveUI.AndroidSupport/ReactiveFragmentActivity.cs b/src/ReactiveUI.AndroidSupport/ReactiveFragmentActivity.cs
index 5b1ce60997..d41b15b168 100644
--- a/src/ReactiveUI.AndroidSupport/ReactiveFragmentActivity.cs
+++ b/src/ReactiveUI.AndroidSupport/ReactiveFragmentActivity.cs
@@ -77,18 +77,10 @@ public class ReactiveFragmentActivity : FragmentActivity, IReactiveObject, IReac
private readonly Subject<(int requestCode, Result result, Intent intent)> _activityResult = new Subject<(int requestCode, Result result, Intent intent)>();
///
- public event PropertyChangingEventHandler PropertyChanging
- {
- add => PropertyChangingEventManager.AddHandler(this, value);
- remove => PropertyChangingEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangingEventHandler PropertyChanging;
///
- public event PropertyChangedEventHandler PropertyChanged
- {
- add => PropertyChangedEventManager.AddHandler(this, value);
- remove => PropertyChangedEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangedEventHandler PropertyChanged;
///
public IObservable> Changing => this.GetChangingObservable();
@@ -117,13 +109,13 @@ public event PropertyChangedEventHandler PropertyChanged
///
void IReactiveObject.RaisePropertyChanging(PropertyChangingEventArgs args)
{
- PropertyChangingEventManager.DeliverEvent(this, args);
+ PropertyChanging?.Invoke(this, args);
}
///
void IReactiveObject.RaisePropertyChanged(PropertyChangedEventArgs args)
{
- PropertyChangedEventManager.DeliverEvent(this, args);
+ PropertyChanged?.Invoke(this, args);
}
///
diff --git a/src/ReactiveUI.AndroidSupport/ReactiveRecyclerViewViewHolder.cs b/src/ReactiveUI.AndroidSupport/ReactiveRecyclerViewViewHolder.cs
index 319602da6f..b984e447bb 100644
--- a/src/ReactiveUI.AndroidSupport/ReactiveRecyclerViewViewHolder.cs
+++ b/src/ReactiveUI.AndroidSupport/ReactiveRecyclerViewViewHolder.cs
@@ -80,18 +80,10 @@ protected ReactiveRecyclerViewViewHolder(View view)
}
///
- public event PropertyChangingEventHandler PropertyChanging
- {
- add => PropertyChangingEventManager.AddHandler(this, value);
- remove => PropertyChangingEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangingEventHandler PropertyChanging;
///
- public event PropertyChangedEventHandler PropertyChanged
- {
- add => PropertyChangedEventManager.AddHandler(this, value);
- remove => PropertyChangedEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangedEventHandler PropertyChanged;
///
/// Gets an observable that signals that this ViewHolder has been selected.
@@ -174,13 +166,13 @@ public bool AreChangeNotificationsEnabled()
///
void IReactiveObject.RaisePropertyChanging(PropertyChangingEventArgs args)
{
- PropertyChangingEventManager.DeliverEvent(this, args);
+ PropertyChanging?.Invoke(this, args);
}
///
void IReactiveObject.RaisePropertyChanged(PropertyChangedEventArgs args)
{
- PropertyChangedEventManager.DeliverEvent(this, args);
+ PropertyChanged?.Invoke(this, args);
}
[OnDeserialized]
diff --git a/src/ReactiveUI.AndroidX/ReactiveAppCompatActivity.cs b/src/ReactiveUI.AndroidX/ReactiveAppCompatActivity.cs
index 14238bf8d6..7097e67686 100644
--- a/src/ReactiveUI.AndroidX/ReactiveAppCompatActivity.cs
+++ b/src/ReactiveUI.AndroidX/ReactiveAppCompatActivity.cs
@@ -80,18 +80,10 @@ protected ReactiveAppCompatActivity(IntPtr handle, JniHandleOwnership ownership)
}
///
- public event PropertyChangingEventHandler PropertyChanging
- {
- add => PropertyChangingEventManager.AddHandler(this, value);
- remove => PropertyChangingEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangingEventHandler PropertyChanging;
///
- public event PropertyChangedEventHandler PropertyChanged
- {
- add => PropertyChangedEventManager.AddHandler(this, value);
- remove => PropertyChangedEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangedEventHandler PropertyChanged;
///
public IObservable> Changing => this.GetChangingObservable();
@@ -129,13 +121,13 @@ public event PropertyChangedEventHandler PropertyChanged
///
void IReactiveObject.RaisePropertyChanging(PropertyChangingEventArgs args)
{
- PropertyChangingEventManager.DeliverEvent(this, args);
+ PropertyChanging?.Invoke(this, args);
}
///
void IReactiveObject.RaisePropertyChanged(PropertyChangedEventArgs args)
{
- PropertyChangedEventManager.DeliverEvent(this, args);
+ PropertyChanged?.Invoke(this, args);
}
///
diff --git a/src/ReactiveUI.AndroidX/ReactiveDialogFragment.cs b/src/ReactiveUI.AndroidX/ReactiveDialogFragment.cs
index 7fa446328d..cedf0dd587 100644
--- a/src/ReactiveUI.AndroidX/ReactiveDialogFragment.cs
+++ b/src/ReactiveUI.AndroidX/ReactiveDialogFragment.cs
@@ -63,18 +63,10 @@ protected ReactiveDialogFragment()
}
///
- public event PropertyChangingEventHandler PropertyChanging
- {
- add => PropertyChangingEventManager.AddHandler(this, value);
- remove => PropertyChangingEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangingEventHandler PropertyChanging;
///
- public event PropertyChangedEventHandler PropertyChanged
- {
- add => PropertyChangedEventManager.AddHandler(this, value);
- remove => PropertyChangedEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangedEventHandler PropertyChanged;
///
public IObservable ThrownExceptions => this.GetThrownExceptionsObservable();
@@ -98,13 +90,13 @@ public event PropertyChangedEventHandler PropertyChanged
///
void IReactiveObject.RaisePropertyChanging(PropertyChangingEventArgs args)
{
- PropertyChangingEventManager.DeliverEvent(this, args);
+ PropertyChanging?.Invoke(this, args);
}
///
void IReactiveObject.RaisePropertyChanged(PropertyChangedEventArgs args)
{
- PropertyChangedEventManager.DeliverEvent(this, args);
+ PropertyChanged?.Invoke(this, args);
}
///
diff --git a/src/ReactiveUI.AndroidX/ReactiveFragment.cs b/src/ReactiveUI.AndroidX/ReactiveFragment.cs
index 98b579f195..10dceded19 100644
--- a/src/ReactiveUI.AndroidX/ReactiveFragment.cs
+++ b/src/ReactiveUI.AndroidX/ReactiveFragment.cs
@@ -63,18 +63,10 @@ protected ReactiveFragment()
}
///
- public event PropertyChangingEventHandler PropertyChanging
- {
- add => PropertyChangingEventManager.AddHandler(this, value);
- remove => PropertyChangingEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangingEventHandler PropertyChanging;
///
- public event PropertyChangedEventHandler PropertyChanged
- {
- add => PropertyChangedEventManager.AddHandler(this, value);
- remove => PropertyChangedEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangedEventHandler PropertyChanged;
///
public IObservable ThrownExceptions => this.GetThrownExceptionsObservable();
@@ -98,13 +90,13 @@ public event PropertyChangedEventHandler PropertyChanged
///
void IReactiveObject.RaisePropertyChanging(PropertyChangingEventArgs args)
{
- PropertyChangingEventManager.DeliverEvent(this, args);
+ PropertyChanging?.Invoke(this, args);
}
///
void IReactiveObject.RaisePropertyChanged(PropertyChangedEventArgs args)
{
- PropertyChangedEventManager.DeliverEvent(this, args);
+ PropertyChanged?.Invoke(this, args);
}
///
diff --git a/src/ReactiveUI.AndroidX/ReactiveFragmentActivity.cs b/src/ReactiveUI.AndroidX/ReactiveFragmentActivity.cs
index 6e63d188d6..5b0adb2e0a 100644
--- a/src/ReactiveUI.AndroidX/ReactiveFragmentActivity.cs
+++ b/src/ReactiveUI.AndroidX/ReactiveFragmentActivity.cs
@@ -62,18 +62,10 @@ public class ReactiveFragmentActivity : FragmentActivity, IReactiveObject, IReac
private readonly Subject<(int requestCode, Result result, Intent intent)> _activityResult = new Subject<(int requestCode, Result result, Intent intent)>();
///
- public event PropertyChangingEventHandler PropertyChanging
- {
- add => PropertyChangingEventManager.AddHandler(this, value);
- remove => PropertyChangingEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangingEventHandler PropertyChanging;
///
- public event PropertyChangedEventHandler PropertyChanged
- {
- add => PropertyChangedEventManager.AddHandler(this, value);
- remove => PropertyChangedEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangedEventHandler PropertyChanged;
///
public IObservable> Changing => this.GetChangingObservable();
@@ -102,13 +94,13 @@ public event PropertyChangedEventHandler PropertyChanged
///
void IReactiveObject.RaisePropertyChanging(PropertyChangingEventArgs args)
{
- PropertyChangingEventManager.DeliverEvent(this, args);
+ PropertyChanging?.Invoke(this, args);
}
///
void IReactiveObject.RaisePropertyChanged(PropertyChangedEventArgs args)
{
- PropertyChangedEventManager.DeliverEvent(this, args);
+ PropertyChanged?.Invoke(this, args);
}
///
diff --git a/src/ReactiveUI.AndroidX/ReactiveRecyclerViewViewHolder.cs b/src/ReactiveUI.AndroidX/ReactiveRecyclerViewViewHolder.cs
index b21a5a7d4e..5841a86718 100644
--- a/src/ReactiveUI.AndroidX/ReactiveRecyclerViewViewHolder.cs
+++ b/src/ReactiveUI.AndroidX/ReactiveRecyclerViewViewHolder.cs
@@ -80,18 +80,10 @@ protected ReactiveRecyclerViewViewHolder(View view)
}
///
- public event PropertyChangingEventHandler PropertyChanging
- {
- add => PropertyChangingEventManager.AddHandler(this, value);
- remove => PropertyChangingEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangingEventHandler PropertyChanging;
///
- public event PropertyChangedEventHandler PropertyChanged
- {
- add => PropertyChangedEventManager.AddHandler(this, value);
- remove => PropertyChangedEventManager.RemoveHandler(this, value);
- }
+ public event PropertyChangedEventHandler PropertyChanged;
///
/// Gets an observable that signals that this ViewHolder has been selected.
@@ -174,13 +166,13 @@ public bool AreChangeNotificationsEnabled()
///
void IReactiveObject.RaisePropertyChanging(PropertyChangingEventArgs args)
{
- PropertyChangingEventManager.DeliverEvent(this, args);
+ PropertyChanging?.Invoke(this, args);
}
///
void IReactiveObject.RaisePropertyChanged(PropertyChangedEventArgs args)
{
- PropertyChangedEventManager.DeliverEvent(this, args);
+ PropertyChanged?.Invoke(this, args);
}
[OnDeserialized]
diff --git a/src/ReactiveUI.Fody.Analyzer.Test/Helpers/DiagnosticResultLocation.cs b/src/ReactiveUI.Fody.Analyzer.Test/Helpers/DiagnosticResultLocation.cs
index 359f373699..3e8e577d7a 100644
--- a/src/ReactiveUI.Fody.Analyzer.Test/Helpers/DiagnosticResultLocation.cs
+++ b/src/ReactiveUI.Fody.Analyzer.Test/Helpers/DiagnosticResultLocation.cs
@@ -10,7 +10,7 @@ namespace TestHelper
///
/// Location where the diagnostic appears, as determined by path, line number, and column number.
///
- public struct DiagnosticResultLocation
+ public struct DiagnosticResultLocation : IEquatable
{
///
/// Initializes a new instance of the struct.
@@ -73,7 +73,7 @@ public DiagnosticResultLocation(string path, int line, int column)
/// Are Equal.
public bool Equals(DiagnosticResultLocation other)
{
- return string.Equals(Path, other.Path) && Line == other.Line && Column == other.Column;
+ return string.Equals(Path, other.Path, StringComparison.InvariantCultureIgnoreCase) && Line == other.Line && Column == other.Column;
}
///
diff --git a/src/ReactiveUI.Fody.Analyzer.Test/Helpers/DiagnosticVerifier.Helper.cs b/src/ReactiveUI.Fody.Analyzer.Test/Helpers/DiagnosticVerifier.Helper.cs
index f0a0138550..1ffb62045b 100644
--- a/src/ReactiveUI.Fody.Analyzer.Test/Helpers/DiagnosticVerifier.Helper.cs
+++ b/src/ReactiveUI.Fody.Analyzer.Test/Helpers/DiagnosticVerifier.Helper.cs
@@ -43,6 +43,11 @@ public abstract partial class DiagnosticVerifier
/// An IEnumerable of Diagnostics that surfaced in the source code, sorted by Location.
protected static Diagnostic[] GetSortedDiagnosticsFromDocuments(DiagnosticAnalyzer analyzer, Document[] documents)
{
+ if (documents is null)
+ {
+ throw new ArgumentNullException(nameof(documents));
+ }
+
var projects = new HashSet();
foreach (var document in documents)
{
diff --git a/src/ReactiveUI.Fody.Analyzer.Test/Verifiers/DiagnosticVerifier.cs b/src/ReactiveUI.Fody.Analyzer.Test/Verifiers/DiagnosticVerifier.cs
index 9558652eff..5b60233a57 100644
--- a/src/ReactiveUI.Fody.Analyzer.Test/Verifiers/DiagnosticVerifier.cs
+++ b/src/ReactiveUI.Fody.Analyzer.Test/Verifiers/DiagnosticVerifier.cs
@@ -10,6 +10,7 @@
using System.Linq;
using System.Text;
using Xunit;
+using System.Globalization;
namespace TestHelper
{
@@ -89,7 +90,7 @@ protected void VerifyBasicDiagnostic(string[] sources, params DiagnosticResult[]
/// Diagnostic Results that should have appeared in the code.
private static void VerifyDiagnosticResults(IEnumerable actualResults, DiagnosticAnalyzer analyzer, params DiagnosticResult[] expectedResults)
{
- int expectedCount = expectedResults.Count();
+ int expectedCount = expectedResults.Length;
int actualCount = actualResults.Count();
if (expectedCount != actualCount)
@@ -219,7 +220,7 @@ private static string FormatDiagnostics(DiagnosticAnalyzer analyzer, params Diag
var location = diagnostics[i].Location;
if (location == Location.None)
{
- builder.AppendFormat("GetGlobalResult({0}.{1})", analyzerType.Name, rule.Id);
+ builder.AppendFormat(CultureInfo.InvariantCulture, "GetGlobalResult({0}.{1})", analyzerType.Name, rule.Id);
}
else
{
@@ -255,7 +256,7 @@ private static string FormatDiagnostics(DiagnosticAnalyzer analyzer, params Diag
/// The language of the classes represented by the source strings.
/// The analyzer to be run on the source code.
/// DiagnosticResults that should appear after the analyzer is run on the sources.
- private void VerifyDiagnostics(string[] sources, string language, DiagnosticAnalyzer analyzer, params DiagnosticResult[] expected)
+ private static void VerifyDiagnostics(string[] sources, string language, DiagnosticAnalyzer analyzer, params DiagnosticResult[] expected)
{
var diagnostics = GetSortedDiagnostics(sources, language, analyzer);
VerifyDiagnosticResults(diagnostics, analyzer, expected);
diff --git a/src/ReactiveUI.Tests/API/ApiApprovalTests.ReactiveUI.approved.txt b/src/ReactiveUI.Tests/API/ApiApprovalTests.ReactiveUI.approved.txt
deleted file mode 100644
index 108e3719e1..0000000000
--- a/src/ReactiveUI.Tests/API/ApiApprovalTests.ReactiveUI.approved.txt
+++ /dev/null
@@ -1,856 +0,0 @@
-[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute("ReactiveUI.AndroidSupport")]
-[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute("ReactiveUI.Tests")]
-[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute("ReactiveUI.Winforms")]
-[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute("ReactiveUI.Wpf")]
-[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute("ReactiveUI.XamForms")]
-[assembly: System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6.1", FrameworkDisplayName=".NET Framework 4.6.1")]
-namespace ReactiveUI
-{
- public class static AutoPersistHelper
- {
- public static System.IDisposable ActOnEveryObject(this System.Collections.ObjectModel.ObservableCollection @this, System.Action onAdd, System.Action onRemove)
- where TItem : ReactiveUI.IReactiveObject { }
- public static System.IDisposable ActOnEveryObject(this System.Collections.ObjectModel.ReadOnlyObservableCollection @this, System.Action onAdd, System.Action onRemove)
- where TItem : ReactiveUI.IReactiveObject { }
- public static System.IDisposable ActOnEveryObject(this TCollection @this, System.Action onAdd, System.Action onRemove)
- where TItem : ReactiveUI.IReactiveObject
- where TCollection : System.Collections.Specialized.INotifyCollectionChanged, System.Collections.Generic.IEnumerable<> { }
- public static System.IDisposable ActOnEveryObject(this System.IObservable> @this, System.Action onAdd, System.Action onRemove)
- where TItem : ReactiveUI.IReactiveObject { }
- public static System.IDisposable AutoPersist(this T @this, System.Func> doPersist, System.Nullable interval = null)
- where T : ReactiveUI.IReactiveObject { }
- public static System.IDisposable AutoPersist(this T @this, System.Func> doPersist, System.IObservable manualSaveSignal, System.Nullable interval = null)
- where T : ReactiveUI.IReactiveObject { }
- public static System.IDisposable AutoPersistCollection(this System.Collections.ObjectModel.ObservableCollection @this, System.Func> doPersist, System.Nullable interval = null)
- where TItem : ReactiveUI.IReactiveObject { }
- public static System.IDisposable AutoPersistCollection(this System.Collections.ObjectModel.ObservableCollection @this, System.Func> doPersist, System.IObservable manualSaveSignal, System.Nullable interval = null)
- where TItem : ReactiveUI.IReactiveObject { }
- public static System.IDisposable AutoPersistCollection(this System.Collections.ObjectModel.ReadOnlyObservableCollection @this, System.Func> doPersist, System.IObservable manualSaveSignal, System.Nullable interval = null)
- where TItem : ReactiveUI.IReactiveObject { }
- public static System.IDisposable AutoPersistCollection(this TCollection @this, System.Func> doPersist, System.IObservable manualSaveSignal, System.Nullable interval = null)
- where TItem : ReactiveUI.IReactiveObject
- where TCollection : System.Collections.Specialized.INotifyCollectionChanged, System.Collections.Generic.IEnumerable<> { }
- }
- public enum BindingDirection
- {
- OneWay = 0,
- TwoWay = 1,
- AsyncOneWay = 2,
- }
- public class CanActivateViewFetcher : ReactiveUI.IActivationForViewFetcher
- {
- public CanActivateViewFetcher() { }
- public System.IObservable GetActivationForView(ReactiveUI.IActivatableView view) { }
- public int GetAffinityForView(System.Type view) { }
- }
- public class static ChangeSetMixin
- {
- public static System.IObservable CountChanged(this System.IObservable changeSet) { }
- public static System.IObservable> CountChanged(this System.IObservable> changeSet) { }
- public static bool HasCountChanged(this DynamicData.IChangeSet changeSet) { }
- }
- public class CombinedReactiveCommand : ReactiveUI.ReactiveCommandBase>
- {
- protected internal CombinedReactiveCommand(System.Collections.Generic.IEnumerable> childCommands, System.IObservable canExecute, System.Reactive.Concurrency.IScheduler outputScheduler) { }
- public override System.IObservable CanExecute { get; }
- public override System.IObservable IsExecuting { get; }
- public override System.IObservable ThrownExceptions { get; }
- protected override void Dispose(bool disposing) { }
- public override System.IObservable> Execute(TParam parameter = null) { }
- public override System.IDisposable Subscribe(System.IObserver> observer) { }
- }
- public class static CommandBinder
- {
- public static ReactiveUI.IReactiveBinding BindCommand(this TView view, TViewModel viewModel, System.Linq.Expressions.Expression> propertyName, System.Linq.Expressions.Expression> controlName, System.IObservable withParameter, string toEvent = null)
- where TView : class, ReactiveUI.IViewFor<>
- where TViewModel : class
- where TProp : System.Windows.Input.ICommand { }
- public static ReactiveUI.IReactiveBinding BindCommand(this TView view, TViewModel viewModel, System.Linq.Expressions.Expression> propertyName, System.Linq.Expressions.Expression> controlName, string toEvent = null)
- where TView : class, ReactiveUI.IViewFor<>
- where TViewModel : class
- where TProp : System.Windows.Input.ICommand { }
- public static ReactiveUI.IReactiveBinding BindCommand(this TView view, TViewModel viewModel, System.Linq.Expressions.Expression> propertyName, System.Linq.Expressions.Expression> controlName, System.Linq.Expressions.Expression> withParameter, string toEvent = null)
- where TView : class, ReactiveUI.IViewFor<>
- where TViewModel : class
- where TProp : System.Windows.Input.ICommand { }
- }
- public class CommandBinderImplementation : Splat.IEnableLogger
- {
- public CommandBinderImplementation() { }
- public ReactiveUI.IReactiveBinding BindCommand(TViewModel viewModel, TView view, System.Linq.Expressions.Expression> vmProperty, System.Linq.Expressions.Expression> controlProperty, System.Func withParameter, string toEvent = null)
- where TView : class, ReactiveUI.IViewFor<>
- where TViewModel : class
- where TProp : System.Windows.Input.ICommand { }
- public ReactiveUI.IReactiveBinding BindCommand(TViewModel viewModel, TView view, System.Linq.Expressions.Expression> vmProperty, System.Linq.Expressions.Expression> controlProperty, System.IObservable withParameter, string toEvent = null)
- where TView : class, ReactiveUI.IViewFor<>
- where TViewModel : class
- where TProp : System.Windows.Input.ICommand { }
- }
- public class static ComparerChainingExtensions
- {
- public static System.Collections.Generic.IComparer ThenBy(this System.Collections.Generic.IComparer parent, System.Func selector) { }
- public static System.Collections.Generic.IComparer ThenBy(this System.Collections.Generic.IComparer parent, System.Func selector, System.Collections.Generic.IComparer comparer) { }
- public static System.Collections.Generic.IComparer ThenByDescending(this System.Collections.Generic.IComparer parent, System.Func selector) { }
- public static System.Collections.Generic.IComparer ThenByDescending(this System.Collections.Generic.IComparer parent, System.Func selector, System.Collections.Generic.IComparer comparer) { }
- }
- public class ComponentModelTypeConverter : ReactiveUI.IBindingTypeConverter, Splat.IEnableLogger
- {
- public ComponentModelTypeConverter() { }
- public int GetAffinityForObjects(System.Type fromType, System.Type toType) { }
- public bool TryConvert(object from, System.Type toType, object conversionHint, out object result) { }
- }
- public class CreatesCommandBindingViaCommandParameter : ReactiveUI.ICreatesCommandBinding
- {
- public CreatesCommandBindingViaCommandParameter() { }
- public System.IDisposable BindCommandToObject(System.Windows.Input.ICommand command, object target, System.IObservable