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

Search Results for

    Interface ISharedResourceRentController

    Manages the rental status of a shared resource, allowing multiple reasons for the resource to be rented.

    Inherited Members
    INotifyPropertyChanged.PropertyChanged
    Namespace: PoeShared.Services
    Assembly: PoeShared.dll
    Syntax
    public interface ISharedResourceRentController : INotifyPropertyChanged
    Examples

    This example demonstrates how to use the ISharedResourceRentController interface to rent a resource.

    var manager = new SharedResourceRentManager();
    using (manager.Rent("Task A"))
    {
        // The resource is now rented for Task A.
        // Do work with the rented resource.
    }
    // The resource is no longer rented for Task A.

    Properties

    Name Description
    IsRented

    Provides the current rental status of the resource. If there are multiple reasons why the resource is rented, they will all be listed together.

    Methods

    Name Description
    Rent(string)

    Temporarily rents the resource for the specified reason.

    Extension Methods

    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)
    XDocumentExtensions.AddTo<T>(T, XContainer)
    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.