Skip to content

AssemblyOrderRule

NexusLabs.Needlr.Injection

NexusLabs.Needlr.Injection.AssemblyOrdering

AssemblyOrderRule Class

Represents a single ordering rule that matches assemblies to a tier.

public sealed class AssemblyOrderRule

Inheritance System.Object 🡒 AssemblyOrderRule

Properties

AssemblyOrderRule.CompiledPredicate Property

The compiled predicate for runtime execution.

public System.Func<NexusLabs.Needlr.Injection.AssemblyOrdering.AssemblyInfo,bool> CompiledPredicate { get; }

Property Value

System.Func<AssemblyInfo,System.Boolean>

AssemblyOrderRule.Expression Property

The expression that determines if an assembly matches this rule.

public System.Linq.Expressions.Expression<System.Func<NexusLabs.Needlr.Injection.AssemblyOrdering.AssemblyInfo,bool>> Expression { get; }

Property Value

System.Linq.Expressions.Expression<System.Func<AssemblyInfo,System.Boolean>>

AssemblyOrderRule.Tier Property

The tier index (lower = earlier in sort order).

public int Tier { get; }

Property Value

System.Int32