예제 #1
0
        public SelfContainedClassProvider(DeltinScript deltinScript, ISelfContainedClass selfContainedClass) : base(selfContainedClass.Name)
        {
            _selfContainedClass = selfContainedClass;
            _deltinScript       = deltinScript;
            GenericTypes        = new AnonymousType[0];

            Instance = new SelfContainedClassInstance(deltinScript, selfContainedClass, this);
        }
예제 #2
0
 public SetupSelfContainedClass(SelfContainedClassInstance workingInstance, Scope objectScope, Scope staticScope)
 {
     WorkingInstance = workingInstance;
     ObjectScope     = objectScope;
     StaticScope     = staticScope;
 }