Exemplo n.º 1
0
 public static Dependency Depend <T>(this Segment segment, Dependency.Kinds kind) => segment.Depend(kind, typeof(T));
Exemplo n.º 2
0
 public static Dependency Depend(this Segment segment, Dependency.Kinds kind, Type type) => new(kind, type, segment);
Exemplo n.º 3
0
 public static bool Is(this Dependency dependency, Dependency.Kinds kind) => dependency.Kind == kind;