Extension methods for the IRef<T> interface.
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public static class RefExtensions
Methods
Name | Description |
---|---|
GetTargetOrNull<T>(IRef<T>, ReferenceResolutionOptions) | Gets the target of the reference for the current execution context, or returns |
GetTarget<T>(IRef<T>, ReferenceResolutionOptions) | Gets the target of the reference for the current execution context, or throws an exception if the reference cannot be resolved. |