CallSiteOps.Bind<T>(CallSiteBinder, CallSite<T>, Object[]) Método
Definição
Cuidado
do not use this method
Atualiza o destino do site de chamada com uma nova regra baseada nos argumentos.Updates the call site target with a new rule based on the arguments.
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.
public:
generic <typename T>
where T : class static T Bind(System::Runtime::CompilerServices::CallSiteBinder ^ binder, System::Runtime::CompilerServices::CallSite<T> ^ site, cli::array <System::Object ^> ^ args);
[System.Obsolete("do not use this method", true)]
public static T Bind<T> (System.Runtime.CompilerServices.CallSiteBinder binder, System.Runtime.CompilerServices.CallSite<T> site, object[] args) where T : class;
[<System.Obsolete("do not use this method", true)>]
static member Bind : System.Runtime.CompilerServices.CallSiteBinder * System.Runtime.CompilerServices.CallSite<'T (requires 'T : null)> * obj[] -> 'T (requires 'T : null)
Public Shared Function Bind(Of T As Class) (binder As CallSiteBinder, site As CallSite(Of T), args As Object()) As T
Parâmetros de tipo
Parâmetros
- binder
- CallSiteBinder
O associador do site de chamada.The call site binder.
- site
- CallSite<T>
Uma instância do site de chamada dinâmico.An instance of the dynamic call site.
- args
- Object[]
Argumentos para o site de chamada.Arguments to the call site.
Retornos
- T
O novo destino do site de chamada.The new call site target.
- Atributos