CacheEnumerable Members

Wraps IEnumerable and adds a cache in the form of a list. It incrementally populates the cache as the source collection is enumerated. Subsequent requests for elements that are cached are returned from the cache. It does not need to iterate thru the whole collection before using the cache.This element is introduced in Windows PowerShell 5.0.

The following tables list the members exposed by the CacheEnumerable type.

Public Constructors

  Name Description
  CacheEnumerable Overloaded. This element is introduced in Windows PowerShell 5.0.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Concat This element is introduced in Windows PowerShell 5.0.
public method Equals  (Inherited from Object)
public method GetEnumerator This element is introduced in Windows PowerShell 5.0.
public method GetEnumerators This element is introduced in Windows PowerShell 5.0.
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method ToString  (Inherited from Object)

Top

Protected Methods

(see also Extension Methods)

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

Extension Methods

  Name Description
public extension method As  Use this method to adapt an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  This is called to adapt an object from a foreign app domain to a known interface in this appDomainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  Adapts an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method ByRef  Overloaded. (Defined by CollectionExtensions.)
public extension method ByRefEnumerable  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)
public extension method Concat  Overloaded. (Defined by CollectionExtensions.)
public extension method ConcatSingleItem  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)
public extension method Extend  Use this method to adapt and extend an object so that you can pass it to a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  This is called to adapt and extend an object that we wish to pass to a foreign app domainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Used to extend an object with an interface from a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Find  (Defined by Utilities.)
public extension method IsNullOrEmpty  Whether the collection object is null or an empty collection.This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)
public extension method MyMax  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)
public extension method SafeAggregate  This element is introduced in Windows PowerShell 5.0. (Defined by StringExtensions.)
public extension method ToCacheEnumerable  This element is introduced in Windows PowerShell 5.0. (Defined by CachingEnumerableExtensions.)
public extension method ToDictionaryNicely  This element is introduced in Windows PowerShell 5.0. (Defined by DictionaryExtensions.)
public extension method ToEnumerable  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)
public extension method WhereNotNull  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)

Top

Explicit Interface Implementations

  Name Description
  GetEnumerator This element is introduced in Windows PowerShell 5.0.

Top

See Also

Reference

CacheEnumerable Generic Class
Microsoft.OneGet.Utility.Collections Namespace