OUT - The type of the delegate to which method calls will be forwarded.public interface MethodDelegate<OUT>
| Modifier and Type | Method and Description |
|---|---|
void |
delegate(OUT delegate)
Sets the delegate to which method invocations will be forwarded.
|
void delegate(OUT delegate)
This mechanism allows the delegation of method calls to an alternate implementation, enabling behaviors like logging, mocking, or additional processing.
delegate - The object that will receive the delegated method calls.Copyright © 2024. All rights reserved.