Class CollectionExtensions
Inheritance
System.Object
CollectionExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Downlink.Core
Assembly: Downlink.Core.dll
Syntax
public static class CollectionExtensions
Methods
| Improve this Doc View SourceGetFor(IEnumerable<IPatternMatcher>, String)
Declaration
public static IPatternMatcher GetFor(this IEnumerable<IPatternMatcher> patterns, string name)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IPatternMatcher> | patterns | |
System.String | name |
Returns
Type | Description |
---|---|
IPatternMatcher |
GetFor<T, TObject>(IEnumerable<T>, String)
Declaration
public static T GetFor<T, TObject>(this IEnumerable<T> strategies, string name)where T : IMatchStrategy<TObject> where TObject : class
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | strategies | |
System.String | name |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T | |
TObject |
GetStorageFor(IEnumerable<IRemoteStorage>, String)
Declaration
public static IRemoteStorage GetStorageFor(this IEnumerable<IRemoteStorage> storage, string name)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IRemoteStorage> | storage | |
System.String | name |
Returns
Type | Description |
---|---|
IRemoteStorage |