TypeProvider.AssemblyNameResolver 属性

定义

获取或设置引用包含一个参数和一个返回值的方法的委托,该方法返回指定类型所属的程序集显示名称。Gets or sets the delegate that references a method with one parameter and one return value that returns the assembly display name in which a specified type belongs to.

public:
 property Func<Type ^, System::String ^> ^ AssemblyNameResolver { Func<Type ^, System::String ^> ^ get(); void set(Func<Type ^, System::String ^> ^ value); };
public Func<Type,string> AssemblyNameResolver { get; set; }
member this.AssemblyNameResolver : Func<Type, string> with get, set
Public Property AssemblyNameResolver As Func(Of Type, String)

属性值

引用包含一个参数和一个返回值的方法的委托,该方法返回指定类型所属的程序集显示名称。The delegate that references a method with one parameter and one return value that returns the assembly display name that a specified type belongs to.

适用于