GetRuntimeObject() static private method

static private GetRuntimeObject ( string className, Type baseType, string initializeData ) : object
className string
baseType System.Type
initializeData string
return object
 protected object BaseGetRuntimeObject()
 {
     if (this._runtimeObject == null)
     {
         this._runtimeObject = TraceUtils.GetRuntimeObject(this.TypeName, this._baseType, this.InitData);
     }
     return(this._runtimeObject);
 }
Esempio n. 2
0
        protected object BaseGetRuntimeObject()
        {
            if (_runtimeObject == null)
            {
                _runtimeObject = TraceUtils.GetRuntimeObject(TypeName, _baseType, InitData);
            }

            return(_runtimeObject);
        }
 private void CreateSwitch(string typename, string name)
 {
     if (!String.IsNullOrEmpty(typename))
     {
         internalSwitch = (SourceSwitch)TraceUtils.GetRuntimeObject(typename, typeof(SourceSwitch), name);
     }
     else
     {
         internalSwitch = new SourceSwitch(name, switchLevel.ToString());
     }
 }