Esempio n. 1
0
 private void EnsureElevatedRuntime()
 {
     if (this._elevatedRuntime == null)
     {
         this._elevatedRuntime          = new DynamicMethodRuntime(this._transparentRuntime.GetSettings(), this._schemaContext, this._accessLevel);
         this._elevatedRuntime.LineInfo = this.LineInfo;
     }
 }
Esempio n. 2
0
 private void EnsureElevatedRuntime()
 {
     if (_elevatedRuntime == null)
     {
         _elevatedRuntime = new DynamicMethodRuntime(
             _transparentRuntime.GetSettings(), _schemaContext, _accessLevel);
         _elevatedRuntime.LineInfo = LineInfo;
     }
 }
Esempio n. 3
0
 public PartialTrustTolerantRuntime(XamlRuntimeSettings runtimeSettings, XamlAccessLevel accessLevel, XamlSchemaContext schemaContext)
 {
     this._transparentRuntime = new ClrObjectRuntime(runtimeSettings, true);
     this._accessLevel        = accessLevel;
     this._schemaContext      = schemaContext;
 }
Esempio n. 4
0
 public PartialTrustTolerantRuntime(XamlRuntimeSettings runtimeSettings, XamlAccessLevel accessLevel, XamlSchemaContext schemaContext)
 {
     _transparentRuntime = new ClrObjectRuntime(runtimeSettings, true /*isWriter*/);
     _accessLevel        = accessLevel;
     _schemaContext      = schemaContext;
 }