EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Class InMemoryFileProvider

    Provides an in-memory file provider for serving files and directory contents dynamically. This class implements IFileProvider to provide virtual files, allowing for dynamic creation, updates, and retrieval of file and directory structures.

    Key Features:

    • Stores files in memory with an DynamicData.ISourceCache<TObject, TKey> for efficient access.
    • Handles URL-decoded paths to accommodate browser-originated file requests.
    • Supports retrieving individual files via GetFileInfo(string).
    • Supports listing directory contents via GetDirectoryContents(string).
    • Automatically updates the count of files available.
    Inheritance
    object
    DisposableReactiveObject
    DisposableReactiveObjectWithLogger
    InMemoryFileProvider
    Implements
    INotifyPropertyChanged
    IInMemoryFileProvider
    IFileProvider
    ISourceCache<IFileInfo, OSPath>
    IObservableCache<IFileInfo, OSPath>
    IConnectableCache<IFileInfo, OSPath>
    IObservableCache<IFileInfo, OSPath>
    IConnectableCache<IFileInfo, OSPath>
    IDisposable
    Inherited Members
    object.GetType()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: PoeShared.Scaffolding
    Assembly: PoeShared.dll
    Syntax
    public sealed class InMemoryFileProvider : DisposableReactiveObjectWithLogger, INotifyPropertyChanged, IInMemoryFileProvider, IFileProvider, ISourceCache<IFileInfo, OSPath>, IObservableCache<IFileInfo, OSPath>, IConnectableCache<IFileInfo, OSPath>, IObservableCache<IFileInfo, OSPath>, IConnectableCache<IFileInfo, OSPath>, IDisposable

    Constructors

    Name Description
    InMemoryFileProvider()

    Initializes a new instance of the InMemoryFileProvider class.

    Properties

    Name Description
    Count

    Gets the number of files currently stored in memory.

    CountChanged
    FilesByName

    Provides a reactive source of files stored in memory.

    Items
    KeySelector
    KeyValues
    Keys

    Methods

    Name Description
    Connect(Func<IFileInfo, bool>, bool)
    Edit(Action<ISourceUpdater<IFileInfo, OSPath>>)
    GetDirectoryContents(string)
    GetFileInfo(string)
    Lookup(OSPath)
    Preview(Func<IFileInfo, bool>)
    Watch(OSPath)
    Watch(string)

    Extension Methods

    ChangeSetExtensions.AsObservableList<T, TKey>(IObservableCache<T, TKey>)
    ChangeSetExtensions.ContainsKey<T, TKey>(IObservableCache<T, TKey>, TKey)
    ChangeSetExtensions.GetOrDefault<T, TKey>(IObservableCache<T, TKey>, TKey)
    ChangeSetExtensions.ToObservableChangeSet<T, TKey>(IObservableCache<T, TKey>)
    ChangeSetExtensions.ToSourceListEx<T, TKey>(IObservableCache<T, TKey>)
    ChangeSetExtensions.TryGetValue<T, TKey>(IObservableCache<T, TKey>, TKey, out T)
    ChangeSetExtensions.TryGetValue<T, TKey, TResult>(IObservableCache<T, TKey>, TKey, out TResult, Func<T, TResult>)
    ChangeSetExtensions.WatchCurrentValue<T, TKey>(IObservableCache<T, TKey>, TKey)
    ChangeSetExtensions.AddOrUpdate<TValue, TKey>(ISourceCache<TValue, TKey>, TKey, Func<TValue>, Func<TKey, TValue, TValue>)
    ChangeSetExtensions.AddOrUpdate<TValue, TKey>(ISourceCache<TValue, TKey>, TKey, Func<TKey, TValue>, Func<TKey, TValue, TValue>)
    ChangeSetExtensions.ComputeIfAbsent<T, TKey>(ISourceCache<T, TKey>, TKey, Func<TKey, T>)
    ChangeSetExtensions.EditDiff<T, TKey>(ISourceCache<T, TKey>, T)
    ChangeSetExtensions.EditDiff<T, TKey>(ISourceCache<T, TKey>, IEnumerable<T>)
    ChangeSetExtensions.GetOrAdd<T, TKey>(ISourceCache<T, TKey>, TKey, Func<TKey, T>)
    ChangeSetExtensions.PopulateFrom<T, TKey, T1>(ISourceCache<T, TKey>, params ISourceList<T1>[])
    ChangeSetExtensions.PopulateFrom<T, TKey, T1, T2>(ISourceCache<T, TKey>, IObservableList<T1>, IObservableList<T2>)
    ChangeSetExtensions.PopulateFrom<T, TKey, T1, T2, T3>(ISourceCache<T, TKey>, IObservableList<T1>, IObservableList<T2>, IObservableList<T3>)
    ChangeSetExtensions.PopulateFrom<T, TKey, T1, T2, T3, T4>(ISourceCache<T, TKey>, IObservableList<T1>, IObservableList<T2>, IObservableList<T3>, IObservableList<T4>)
    ChangeSetExtensions.PopulateFrom<T, TKey, T1, T2, T3, T4, T5>(ISourceCache<T, TKey>, IObservableList<T1>, IObservableList<T2>, IObservableList<T3>, IObservableList<T4>, IObservableList<T5>)
    ChangeSetExtensions.PopulateFrom<T, TKey, T1, T2, T3, T4, T5, T6>(ISourceCache<T, TKey>, IObservableList<T1>, IObservableList<T2>, IObservableList<T3>, IObservableList<T4>, IObservableList<T5>, IObservableList<T6>)
    ChangeSetExtensions.ToSourceCacheEx<T, TKey>(ISourceCache<T, TKey>)
    ChangeSetExtensions.TryRemove<T, TKey>(ISourceCache<T, TKey>, TKey, out T)
    FileProviderExtensions.GetFileInfoOrThrow(IFileProvider, string)
    FileProviderExtensions.ReadAllBytes(IFileProvider, string)
    FileProviderExtensions.ReadAllText(IFileProvider, string)
    DisposableExtensions.AssignTo<T>(T, SerialDisposable)
    NotifyPropertyChangedExtensions.GetPropertyName<TObject, T1>(TObject, Expression<Func<TObject, T1>>)
    NotifyPropertyChangedExtensions.TryWaitForValue<TObject, T1>(TObject, Expression<Func<TObject, T1>>, Predicate<T1>, TimeSpan)
    NotifyPropertyChangedExtensions.WaitForValueAsync<TObject, T1>(TObject, Expression<Func<TObject, T1>>, Predicate<T1>, TimeSpan)
    NotifyPropertyChangedExtensions.WaitForValue<TObject, T1>(TObject, Expression<Func<TObject, T1>>, Predicate<T1>, TimeSpan)
    NotifyPropertyChangedExtensions.WhenAnyProperty<TObject>(TObject, params string[])
    NotifyPropertyChangedExtensions.WhenAnyProperty<TObject, T1>(TObject, Expression<Func<TObject, T1>>)
    NotifyPropertyChangedExtensions.WhenAnyProperty<TObject, T1, T2>(TObject, Expression<Func<TObject, T1>>, Expression<Func<TObject, T2>>)
    NotifyPropertyChangedExtensions.WhenAnyProperty<TObject, T1, T2, T3>(TObject, Expression<Func<TObject, T1>>, Expression<Func<TObject, T2>>, Expression<Func<TObject, T3>>)
    NotifyPropertyChangedExtensions.WhenAnyProperty<TObject, T1, T2, T3, T4>(TObject, Expression<Func<TObject, T1>>, Expression<Func<TObject, T2>>, Expression<Func<TObject, T3>>, Expression<Func<TObject, T4>>)
    NotifyPropertyChangedExtensions.WhenAnyProperty<TObject, T1, T2, T3, T4, T5>(TObject, Expression<Func<TObject, T1>>, Expression<Func<TObject, T2>>, Expression<Func<TObject, T3>>, Expression<Func<TObject, T4>>, Expression<Func<TObject, T5>>)
    ObjectExtensions.AddTo<TItem, TCollection>(TItem, ISourceList<TCollection>)
    ObjectExtensions.AddTo<TItem, TCollection>(TItem, ICollection<TCollection>)
    ObjectExtensions.CloneJson<T>(T)
    ObjectExtensions.CopyPropertiesTo<TSource, TTarget>(TSource, TTarget)
    ObjectExtensions.DumpToJson<T>(T)
    ObjectExtensions.DumpToTextRaw<T>(T)
    ObjectExtensions.DumpToText<T>(T)
    ObjectExtensions.Dump<T>(T)
    ObjectExtensions.EvalOrDefault<T, TValue>(T, Func<T, TValue>, TValue)
    ObjectExtensions.Eval<T, TValue>(T, Func<T, TValue>)
    ObjectExtensions.GetPropertyAccessor<TSource, TValue>(TSource, Expression<Func<TSource, TValue>>)
    ObjectExtensions.InsertTo<TItem, TCollection>(TItem, IList<TCollection>, int)
    ObjectExtensions.ToJson<T>(T, Formatting)
    ObjectExtensions.ToStringSafe<T>(T)
    ObjectExtensions.TransferPropertiesTo<TSource, TTarget>(TSource, TTarget, params string[])
    ObjectExtensions.WaitForAsync<TObject, T1>(TObject, Func<TObject, T1>, Predicate<T1>, TimeSpan, int)
    ReactiveObjectExtensions.BindPropertyTo<TSource, TTarget, TSourceProperty, TTargetProperty>(TTarget, Expression<Func<TTarget, TTargetProperty>>, TSource, Expression<Func<TSource, TSourceProperty>>)
    ReactiveObjectExtensions.BindPropertyTo<TSource, TTarget, TSourceProperty, TTargetProperty>(TTarget, Expression<Func<TTarget, TTargetProperty>>, TSource, Expression<Func<TSource, TSourceProperty>>, IScheduler)
    ReactiveObjectExtensions.LinkObjectProperties<TSource, TSourceProperty, TTargetProperty>(TSource, Expression<Func<TSource, TSourceProperty>>, Expression<Func<TSource, TTargetProperty>>)
    ReactiveObjectExtensions.RaiseIfChanged<TSource, TSourceProperty>(TSource, string, TSourceProperty, TSourceProperty)
    ReactiveObjectExtensions.RaiseWhenSourceValue<TSource, TTarget, TSourceProperty, TTargetProperty>(TTarget, Expression<Func<TTarget, TTargetProperty>>, TSource, Expression<Func<TSource, TSourceProperty>>, IScheduler)
    ReactiveObjectExtensions.ToPropertyHelper<TSource, TSourceProperty>(TSource, Expression<Func<TSource, TSourceProperty>>, IObservable<TSourceProperty>, IScheduler)
    ReactiveObjectExtensions.ToProperty<TSource, TSourceProperty>(TSource, Expression<Func<TSource, TSourceProperty>>, IObservable<TSourceProperty>, TSourceProperty, bool, IScheduler)
    XDocumentExtensions.AddTo<T>(T, XContainer)
    DisposableExtensions.ToObservable(IDisposable)
    ObjectExtensions.GetPropertyAccessor<TValue>(object, string)
    ObjectReflectionExtensions.GetPropertyTypeOrDefault(object, string)
    ObjectReflectionExtensions.GetPropertyValue<T>(object, string)
    ObjectReflectionExtensions.SetPropertyValue<T>(object, string, T)
    2025 © Xab3r. All rights reserved.