FromContextAttribute
Forces a parameter to resolve from context hierarchy values.
- Kind:
Class - Namespace: Repl
- Assembly:
Repl.Core - Source: src/Repl.Core/FromContextAttribute.cs
Signature
Section titled “Signature”[AttributeUsage(AttributeTargets.Parameter)]public sealed class FromContextAttribute : AttributeInheritance
Section titled “Inheritance”Properties
Section titled “Properties”Gets or sets a value indicating whether all matching ancestor context objects should be bound.
public bool All { get; init; }