C# Class Org.IdentityConnectors.ActiveDirectory.CommonUtils

Exibir arquivo Open project: Evolveum/openicf

Public Methods

Method Description
ConvertToSupportedForm ( ConnectorAttributeInfo cai, object value ) : ICollection

Converts any value to a form that can be stored into connector attribute.

DumpConnectorAttributes ( ICollection attributes ) : string
GetOCInfoFromAssembly ( string resourceName, Assembly assembly ) : ObjectClassInfo>.IDictionary
GetOCInfoFromExecutingAssembly ( string resourceName ) : ObjectClassInfo>.IDictionary
GetOCInfoFromFile ( string fileName ) : ObjectClassInfo>.IDictionary
MergeOCInfo ( ObjectClassInfo>.IDictionary global, ObjectClassInfo>.IDictionary local ) : ObjectClassInfo>.IDictionary
MergeOCInfo ( ObjectClassInfo>.IList infos ) : ObjectClassInfo>.IDictionary
ReadResource ( string filename, Assembly assembly ) : string

Private Methods

Method Description
GetOCInfoInternal ( Stream stream, bool dump ) : ObjectClassInfo>.IDictionary
IsSupported ( ConnectorAttributeInfo cai, object value ) : bool
Merge ( ObjectClassInfo>.IDictionary target, ObjectClassInfo>.IDictionary source ) : void

Method Details

ConvertToSupportedForm() public static method

Converts any value to a form that can be stored into connector attribute.
public static ConvertToSupportedForm ( ConnectorAttributeInfo cai, object value ) : ICollection
cai Org.IdentityConnectors.Framework.Common.Objects.ConnectorAttributeInfo
value object
return ICollection

DumpConnectorAttributes() public static method

public static DumpConnectorAttributes ( ICollection attributes ) : string
attributes ICollection
return string

GetOCInfoFromAssembly() public static method

public static GetOCInfoFromAssembly ( string resourceName, Assembly assembly ) : ObjectClassInfo>.IDictionary
resourceName string
assembly System.Reflection.Assembly
return ObjectClassInfo>.IDictionary

GetOCInfoFromExecutingAssembly() public static method

public static GetOCInfoFromExecutingAssembly ( string resourceName ) : ObjectClassInfo>.IDictionary
resourceName string
return ObjectClassInfo>.IDictionary

GetOCInfoFromFile() public static method

public static GetOCInfoFromFile ( string fileName ) : ObjectClassInfo>.IDictionary
fileName string
return ObjectClassInfo>.IDictionary

MergeOCInfo() public static method

public static MergeOCInfo ( ObjectClassInfo>.IDictionary global, ObjectClassInfo>.IDictionary local ) : ObjectClassInfo>.IDictionary
global ObjectClassInfo>.IDictionary
local ObjectClassInfo>.IDictionary
return ObjectClassInfo>.IDictionary

MergeOCInfo() public static method

public static MergeOCInfo ( ObjectClassInfo>.IList infos ) : ObjectClassInfo>.IDictionary
infos ObjectClassInfo>.IList
return ObjectClassInfo>.IDictionary

ReadResource() public static method

public static ReadResource ( string filename, Assembly assembly ) : string
filename string
assembly System.Reflection.Assembly
return string