예제 #1
0
 // TODO, I think the type just passes through here
 // like everywhere else
 public static IInterpetedStaticScope StaticScope(ConcurrentIndexed <IKey, IInterpetedMember> backing, IInterfaceModuleType type)
 => Root(new Func <IRunTimeAnyRoot, RunTimeAnyRootEntry>[] { StaticScopeIntention(backing, type) }).Has <IInterpetedStaticScope>();
예제 #2
0
 public static Func <IRunTimeAnyRoot, RunTimeAnyRootEntry> StaticScopeIntention(ConcurrentIndexed <IKey, IInterpetedMember> backing, IInterfaceModuleType type)
 => root => new RunTimeAnyRootEntry(new InterpetedStaticScope(backing, root), type);
예제 #3
0
 public InterpetedScopeTemplate(IFinalizedScope finalizedScope, IInterfaceModuleType type)
 {
     this.staticScope    = TypeManager.StaticScope(new ConcurrentIndexed <IKey, IInterpetedMember>(), type);
     this.finalizedScope = finalizedScope ?? throw new ArgumentNullException(nameof(finalizedScope));
 }