示例#1
0
 /// <summary>
 /// OnMethodBegin callback
 /// </summary>
 /// <param name="instance">Instance value, aka `this` of the instrumented method.</param>
 /// <param name="connection">A provided connection</param>
 /// <param name="operation">The requested couchbase operation</param>
 /// <param name="cancellationToken">A cancellation token</param>
 /// <typeparam name="TTarget">Type of the target</typeparam>
 /// <typeparam name="TOperation">Type of the operation</typeparam>
 /// <typeparam name="TConnection">Type of the connection</typeparam>
 /// <typeparam name="TCancellationToken">Type of the cancellationToken</typeparam>
 /// <returns>Calltarget state value</returns>
 internal static CallTargetState OnMethodBegin <TTarget, TOperation, TConnection, TCancellationToken>(TTarget instance, TConnection connection, TOperation operation, TCancellationToken cancellationToken)
 {
     return(CouchbaseCommon.CommonOnMethodBeginV3(operation));
 }
示例#2
0
 /// <summary>
 /// OnMethodBegin callback
 /// </summary>
 /// <param name="instance">Instance value, aka `this` of the instrumented method.</param>
 /// <param name="operation">The requested couchbase operation</param>
 /// <typeparam name="TTarget">Type of the target</typeparam>
 /// <typeparam name="TOperation">Type of the operation</typeparam>
 /// <returns>Calltarget state value</returns>
 internal static CallTargetState OnMethodBegin <TTarget, TOperation>(TTarget instance, TOperation operation)
 {
     return(CouchbaseCommon.CommonOnMethodBeginV3(operation));
 }