Show / Hide Table of Contents

Class DisposableUtils.DisposableActionEnumerator<T>

Inheritance
System.Object
DisposableUtils.DisposableActionEnumerator<T>
Implements
System.IDisposable
System.Collections.Generic.IEnumerator<T>
System.Collections.IEnumerator
Namespace: Eco.Shared.Utils
Assembly: Eco.Shared.dll
Syntax
public sealed class DisposableActionEnumerator<T> : ValueType, IDisposable, IEnumerator<T>, IEnumerator
Type Parameters
Name Description
T

Constructors

DisposableActionEnumerator(IEnumerator<T>, Action)

Declaration
public DisposableActionEnumerator(IEnumerator<T> enumerator, Action onDispose)
Parameters
Type Name Description
System.Collections.Generic.IEnumerator<T> enumerator
System.Action onDispose

Properties

Current

Declaration
public T Current { get; }
Property Value
Type Description
T

Methods

Dispose()

Declaration
public void Dispose()

MoveNext()

Declaration
public bool MoveNext()
Returns
Type Description
System.Boolean

Reset()

Declaration
public void Reset()

Implements

System.IDisposable
System.Collections.Generic.IEnumerator<>
System.Collections.IEnumerator

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
☀
☾