C# Class Org.IdentityConnectors.Framework.Common.Objects.ConnectorAttributeInfoUtil

Show file Open project: Tirasa/ConnId

Public Methods

Method Description
Find ( string name, ICollection attrs ) : ConnectorAttributeInfo

Find the ConnectorAttributeInfo of the given name in the Set.

ToMap ( ICollection attributes ) : ConnectorAttributeInfo>.IDictionary

Transform a Collection of ConnectorAttributeInfo instances into a Map.

The key to each element in the map is the name of an AttributeInfo. The value of each element in the map is the AttributeInfo instance with that name.

Method Details

Find() public static method

Find the ConnectorAttributeInfo of the given name in the Set.
public static Find ( string name, ICollection attrs ) : ConnectorAttributeInfo
name string /// 's name to search for.
attrs ICollection /// of AttributeInfo to search.
return ConnectorAttributeInfo

ToMap() public static method

Transform a Collection of ConnectorAttributeInfo instances into a Map.
The key to each element in the map is the name of an AttributeInfo. The value of each element in the map is the AttributeInfo instance with that name.
if the parameter attributes is /// null.
public static ToMap ( ICollection attributes ) : ConnectorAttributeInfo>.IDictionary
attributes ICollection set of AttributeInfo to transform to a map.
return ConnectorAttributeInfo>.IDictionary