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