Skip to content

Commit

Permalink
Added changes to API verification files, missing from 3d4543f. (#783)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakenVeina authored Dec 6, 2023
1 parent d93fb94 commit 0e13de8
Show file tree
Hide file tree
Showing 3 changed files with 129 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,21 @@ namespace DynamicData.Binding
where TObject : notnull
where TKey : notnull { }
}
public struct BindingOptions : System.IEquatable<DynamicData.Binding.BindingOptions>
{
public const bool DefaultResetOnFirstTimeLoad = true;
public const int DefaultResetThreshold = 25;
public const bool DefaultUseReplaceForUpdates = true;
public BindingOptions(int ResetThreshold, bool UseReplaceForUpdates = true, bool ResetOnFirstTimeLoad = true) { }
public bool ResetOnFirstTimeLoad { get; set; }
public int ResetThreshold { get; set; }
public bool UseReplaceForUpdates { get; set; }
public static DynamicData.Binding.BindingOptions NeverFireReset(bool useReplaceForUpdates = true) { }
}
public static class DynamicDataOptions
{
public static DynamicData.Binding.BindingOptions Binding { get; set; }
}
public interface IEvaluateAware
{
void Evaluate();
Expand Down Expand Up @@ -402,14 +417,17 @@ namespace DynamicData.Binding
public class ObservableCollectionAdaptor<T> : DynamicData.IChangeSetAdaptor<T>
where T : notnull
{
public ObservableCollectionAdaptor(DynamicData.Binding.IObservableCollection<T> collection, int refreshThreshold = 25) { }
public ObservableCollectionAdaptor(DynamicData.Binding.IObservableCollection<T> collection) { }
public ObservableCollectionAdaptor(DynamicData.Binding.IObservableCollection<T> collection, DynamicData.Binding.BindingOptions options) { }
public ObservableCollectionAdaptor(DynamicData.Binding.IObservableCollection<T> collection, int refreshThreshold, bool allowReplace = true, bool resetOnFirstTimeLoad = true) { }
public void Adapt(DynamicData.IChangeSet<T> changes) { }
}
public class ObservableCollectionAdaptor<TObject, TKey> : DynamicData.Binding.IObservableCollectionAdaptor<TObject, TKey>
where TObject : notnull
where TKey : notnull
{
public ObservableCollectionAdaptor(int refreshThreshold = 25, bool useReplaceForUpdates = false) { }
public ObservableCollectionAdaptor(DynamicData.Binding.BindingOptions options) { }
public ObservableCollectionAdaptor(int refreshThreshold = 25, bool useReplaceForUpdates = true, bool resetOnFirstTimeLoad = true) { }
public void Adapt(DynamicData.IChangeSet<TObject, TKey> changes, DynamicData.Binding.IObservableCollection<TObject> collection) { }
}
public static class ObservableCollectionEx
Expand Down Expand Up @@ -486,7 +504,9 @@ namespace DynamicData.Binding
where TObject : notnull
where TKey : notnull
{
public SortedObservableCollectionAdaptor(int refreshThreshold = 25, bool useReplaceForUpdates = true) { }
public SortedObservableCollectionAdaptor() { }
public SortedObservableCollectionAdaptor(DynamicData.Binding.BindingOptions options) { }
public SortedObservableCollectionAdaptor(int refreshThreshold, bool useReplaceForUpdates = true, bool resetOnFirstTimeLoad = true) { }
public void Adapt(DynamicData.ISortedChangeSet<TObject, TKey> changes, DynamicData.Binding.IObservableCollection<TObject> collection) { }
}
}
Expand Down Expand Up @@ -1133,22 +1153,34 @@ namespace DynamicData
public static System.IObservable<DynamicData.ISortedChangeSet<TObject, TKey>> Bind<TObject, TKey>(this System.IObservable<DynamicData.ISortedChangeSet<TObject, TKey>> source, DynamicData.Binding.IObservableCollection<TObject> destination)
where TObject : notnull
where TKey : notnull { }
public static System.IObservable<DynamicData.IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this System.IObservable<DynamicData.IChangeSet<TObject, TKey>> source, DynamicData.Binding.IObservableCollection<TObject> destination, DynamicData.Binding.BindingOptions options)
where TObject : notnull
where TKey : notnull { }
public static System.IObservable<DynamicData.IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this System.IObservable<DynamicData.IChangeSet<TObject, TKey>> source, DynamicData.Binding.IObservableCollection<TObject> destination, DynamicData.Binding.IObservableCollectionAdaptor<TObject, TKey> updater)
where TObject : notnull
where TKey : notnull { }
public static System.IObservable<DynamicData.IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this System.IObservable<DynamicData.IChangeSet<TObject, TKey>> source, DynamicData.Binding.IObservableCollection<TObject> destination, int refreshThreshold = 25)
where TObject : notnull
where TKey : notnull { }
public static System.IObservable<DynamicData.IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this System.IObservable<DynamicData.IChangeSet<TObject, TKey>> source, out System.Collections.ObjectModel.ReadOnlyObservableCollection<TObject> readOnlyObservableCollection, DynamicData.Binding.BindingOptions options)
where TObject : notnull
where TKey : notnull { }
public static System.IObservable<DynamicData.IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this System.IObservable<DynamicData.IChangeSet<TObject, TKey>> source, System.ComponentModel.BindingList<TObject> bindingList, int resetThreshold = 25)
where TObject : notnull
where TKey : notnull { }
public static System.IObservable<DynamicData.ISortedChangeSet<TObject, TKey>> Bind<TObject, TKey>(this System.IObservable<DynamicData.ISortedChangeSet<TObject, TKey>> source, DynamicData.Binding.IObservableCollection<TObject> destination, DynamicData.Binding.BindingOptions options)
where TObject : notnull
where TKey : notnull { }
public static System.IObservable<DynamicData.ISortedChangeSet<TObject, TKey>> Bind<TObject, TKey>(this System.IObservable<DynamicData.ISortedChangeSet<TObject, TKey>> source, DynamicData.Binding.IObservableCollection<TObject> destination, DynamicData.Binding.ISortedObservableCollectionAdaptor<TObject, TKey> updater)
where TObject : notnull
where TKey : notnull { }
public static System.IObservable<DynamicData.IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this System.IObservable<DynamicData.ISortedChangeSet<TObject, TKey>> source, out System.Collections.ObjectModel.ReadOnlyObservableCollection<TObject> readOnlyObservableCollection, DynamicData.Binding.BindingOptions options)
where TObject : notnull
where TKey : notnull { }
public static System.IObservable<DynamicData.IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this System.IObservable<DynamicData.ISortedChangeSet<TObject, TKey>> source, System.ComponentModel.BindingList<TObject> bindingList, int resetThreshold = 25)
where TObject : notnull
where TKey : notnull { }
public static System.IObservable<DynamicData.IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this System.IObservable<DynamicData.IChangeSet<TObject, TKey>> source, out System.Collections.ObjectModel.ReadOnlyObservableCollection<TObject> readOnlyObservableCollection, int resetThreshold = 25, bool useReplaceForUpdates = false, DynamicData.Binding.IObservableCollectionAdaptor<TObject, TKey>? adaptor = null)
public static System.IObservable<DynamicData.IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this System.IObservable<DynamicData.IChangeSet<TObject, TKey>> source, out System.Collections.ObjectModel.ReadOnlyObservableCollection<TObject> readOnlyObservableCollection, int resetThreshold = 25, bool useReplaceForUpdates = true, DynamicData.Binding.IObservableCollectionAdaptor<TObject, TKey>? adaptor = null)
where TObject : notnull
where TKey : notnull { }
public static System.IObservable<DynamicData.IChangeSet<TObject, TKey>> Bind<TObject, TKey>(this System.IObservable<DynamicData.ISortedChangeSet<TObject, TKey>> source, out System.Collections.ObjectModel.ReadOnlyObservableCollection<TObject> readOnlyObservableCollection, int resetThreshold = 25, bool useReplaceForUpdates = true, DynamicData.Binding.ISortedObservableCollectionAdaptor<TObject, TKey>? adaptor = null)
Expand Down Expand Up @@ -1996,8 +2028,12 @@ namespace DynamicData
where TObject : System.ComponentModel.INotifyPropertyChanged { }
public static System.IObservable<DynamicData.IChangeSet<TObject>> AutoRefreshOnObservable<TObject, TAny>(this System.IObservable<DynamicData.IChangeSet<TObject>> source, System.Func<TObject, System.IObservable<TAny>> reevaluator, System.TimeSpan? changeSetBuffer = default, System.Reactive.Concurrency.IScheduler? scheduler = null)
where TObject : notnull { }
public static System.IObservable<DynamicData.IChangeSet<T>> Bind<T>(this System.IObservable<DynamicData.IChangeSet<T>> source, DynamicData.Binding.IObservableCollection<T> targetCollection, DynamicData.Binding.BindingOptions options)
where T : notnull { }
public static System.IObservable<DynamicData.IChangeSet<T>> Bind<T>(this System.IObservable<DynamicData.IChangeSet<T>> source, DynamicData.Binding.IObservableCollection<T> targetCollection, int resetThreshold = 25)
where T : notnull { }
public static System.IObservable<DynamicData.IChangeSet<T>> Bind<T>(this System.IObservable<DynamicData.IChangeSet<T>> source, out System.Collections.ObjectModel.ReadOnlyObservableCollection<T> readOnlyObservableCollection, DynamicData.Binding.BindingOptions options)
where T : notnull { }
public static System.IObservable<DynamicData.IChangeSet<T>> Bind<T>(this System.IObservable<DynamicData.IChangeSet<T>> source, out System.Collections.ObjectModel.ReadOnlyObservableCollection<T> readOnlyObservableCollection, int resetThreshold = 25)
where T : notnull { }
public static System.IObservable<DynamicData.IChangeSet<T>> Bind<T>(this System.IObservable<DynamicData.IChangeSet<T>> source, System.ComponentModel.BindingList<T> bindingList, int resetThreshold = 25)
Expand Down Expand Up @@ -2091,6 +2127,9 @@ namespace DynamicData
where TKey : notnull { }
public static System.IObservable<TDestination> MergeMany<T, TDestination>(this System.IObservable<DynamicData.IChangeSet<T>> source, System.Func<T, System.IObservable<TDestination>> observableSelector)
where T : notnull { }
public static System.IObservable<DynamicData.IChangeSet<TDestination>> MergeManyChangeSets<TObject, TDestination>(this System.IObservable<DynamicData.IChangeSet<TObject>> source, System.Func<TObject, System.IObservable<DynamicData.IChangeSet<TDestination>>> observableSelector)
where TObject : notnull
where TDestination : notnull { }
public static System.IObservable<DynamicData.IChangeSet<TDestination, TDestinationKey>> MergeManyChangeSets<TObject, TDestination, TDestinationKey>(this System.IObservable<DynamicData.IChangeSet<TObject>> source, System.Func<TObject, System.IObservable<DynamicData.IChangeSet<TDestination, TDestinationKey>>> observableSelector, System.Collections.Generic.IComparer<TDestination> comparer)
where TObject : notnull
where TDestination : notnull
Expand Down
Loading

0 comments on commit 0e13de8

Please sign in to comment.