C# 클래스 NAnt.DotNet.Tasks.AssemblyInfoTask.TypedValueGatherer

Responsible for returning the specified value converted to a Type accepted by a constructor for a given Type.
상속: System.MarshalByRefObject
파일 보기 프로젝트 열기: skolima/NAnt

공개 메소드들

메소드 설명
GetTypedValue ( StringCollection assemblies, StringCollection imports, string typename, string value ) : object

Retrieves the specified Type corresponding with the specified type name from a list of assemblies.

InitializeLifetimeService ( ) : Object

Obtains a lifetime service object to control the lifetime policy for this instance.

메소드 상세

GetTypedValue() 공개 메소드

Retrieves the specified Type corresponding with the specified type name from a list of assemblies.
/// is and the identified by has no default public constructor. /// -or- /// cannot be converted to a value that's suitable for one of the constructors of the identified by . /// -or- /// The identified by has no suitable constructor. /// -or- /// A identified by could not be located or loaded. ///
public GetTypedValue ( StringCollection assemblies, StringCollection imports, string typename, string value ) : object
assemblies System.Collections.Specialized.StringCollection The collection of assemblies that the type should tried to be instantiated from.
imports System.Collections.Specialized.StringCollection The list of imports that can be used to resolve the typename to a full typename.
typename string The typename that should be used to determine the type to which the specified value should be converted.
value string The value that should be converted to a typed value.
리턴 object

InitializeLifetimeService() 공개 메소드

Obtains a lifetime service object to control the lifetime policy for this instance.
public InitializeLifetimeService ( ) : Object
리턴 Object