Show / Hide Table of Contents

Class Subscriptions

Simple subscriptions collection which may be used for holding subset of subscriptions for class. It also may be used as ISubscription to keep sub-collection of subscriptions and unsubscribed together with main collection.

Inheritance
System.Object
Subscriptions
Implements
ISubscriptionsList
System.Collections.Generic.IEnumerable<ISubscription>
System.Collections.IEnumerable
ISupportNestedSubscriptions<Subscriptions>
ISubscription
ISubscriptions<Subscriptions>
ISubscriptions
Namespace: Eco.Shared.View
Assembly: Eco.Shared.dll
Syntax
public sealed class Subscriptions : List<ISubscription>, ISubscriptionsList, IEnumerable<ISubscription>, IEnumerable, ISupportNestedSubscriptions<Subscriptions>, ISubscription, ISubscriptions<Subscriptions>, ISubscriptions

Constructors

Subscriptions()

Declaration
public Subscriptions()

Methods

AddNestedSubscriptions()

Declaration
public Subscriptions AddNestedSubscriptions()
Returns
Type Description
Subscriptions

Finalize()

Declaration
protected override void Finalize()

GetOrCreateSubscriptionsList()

Declaration
public Subscriptions GetOrCreateSubscriptionsList()
Returns
Type Description
Subscriptions

ReleaseSubscriptionsList()

Declaration
public void ReleaseSubscriptionsList()

Unsubscribe()

Declaration
public void Unsubscribe()

UnsubscribeAll()

Declaration
public void UnsubscribeAll()

Explicit Interface Implementations

ISubscription.ReturnToPool()

Declaration
void ISubscription.ReturnToPool()

ISubscriptions<Subscriptions>.Subscriptions

Declaration
Subscriptions ISubscriptions<Subscriptions>.Subscriptions { get; }
Returns
Type Description
Subscriptions

ISubscriptionsList.AddSubscription(ISubscription)

Declaration
void ISubscriptionsList.AddSubscription(ISubscription subscription)
Parameters
Type Name Description
ISubscription subscription

ISubscriptionsList.RemoveSubscription(ISubscription)

Declaration
bool ISubscriptionsList.RemoveSubscription(ISubscription subscription)
Parameters
Type Name Description
ISubscription subscription
Returns
Type Description
System.Boolean

ISubscriptionsList.UnsubscribeAll<TPredicate>(TPredicate)

Declaration
void ISubscriptionsList.UnsubscribeAll<TPredicate>(TPredicate predicate)
    where TPredicate : IPredicate<ISubscription>
Parameters
Type Name Description
TPredicate predicate
Type Parameters
Name Description
TPredicate

ISubscriptionsList.UnsubscribeFirst<TPredicate>(TPredicate)

Declaration
bool ISubscriptionsList.UnsubscribeFirst<TPredicate>(TPredicate predicate)
    where TPredicate : IPredicate<ISubscription>
Parameters
Type Name Description
TPredicate predicate
Returns
Type Description
System.Boolean
Type Parameters
Name Description
TPredicate

Implements

ISubscriptionsList
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable
ISupportNestedSubscriptions<TNestedSubscriptionsList>
ISubscription
ISubscriptions<TSubscriptionsList>
ISubscriptions

Extension Methods

CommandLine.FeedFromCommandLine(Object)
CommandLine.ToCommandLineArgs(Object, Func<Object, Boolean>)
ListUtil.DepthFirstTraversal<T>(T, Func<T, IEnumerable<T>>)
EnumerableExtensions.SingleItemAsEnumerable<T>(T)
EventUtils.RaiseEvent<TEventArgs>(Object, String, TEventArgs)
PredicateUtils.MatchesAll<TEnumerable, T>(T, TEnumerable)
PredicateUtils.MatchesAll<T>(T, Func<T, Boolean>[])
PredicateUtils.MatchesAny<TEnumerable, T>(T, TEnumerable)
ReflectionUtils.PropertyValue<T>(Object, PropertyInfo)
ReflectionUtils.TryGetPropertyValueByName<T>(Object, String, out T)
ReflectionUtils.GetPropertyValueByName<T>(Object, String)
ReflectionUtils.SetPropertyByName(Object, String, Object)
ReflectionUtils.GetStructPropertyByName<T>(Object, String)
ReflectionUtils.GetStringPropertyByName(Object, String)
ReflectionUtils.ZipByProperty<T>(Object, Object, Object, Func<T, T, T>)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾