public InterpetedScopeTemplate(IFinalizedScope finalizedScope, IInterfaceModuleType type) { this.staticScope = TypeManager.StaticScope(new ConcurrentIndexed <IKey, IInterpetedMember>(), type); this.finalizedScope = finalizedScope ?? throw new ArgumentNullException(nameof(finalizedScope)); }
internal static IInterpetedScope InstanceScope(IInterpetedStaticScope staticBacking, IFinalizedScope scopeDefinition) => new RunTimeAnyRoot(new Func <IRunTimeAnyRoot, RunTimeAnyRootEntry>[] { InstanceScopeIntention(staticBacking, scopeDefinition, scopeDefinition.ToVerifiableType()) }).Has <IInterpetedScope>();
public InterpetedInstanceScope(ConcurrentIndexed <IKey, IInterpetedMember> backing, IInterpetedStaticScope staticBacking, IRunTimeAnyRoot root) : base(backing, root) { StaticBacking = staticBacking ?? throw new ArgumentNullException(nameof(staticBacking)); }