private static TesterComponentRecord[] rAdPWPX1l([In] FileInfo obj0)
        {
            CompilerResults compilerResults = CompilingService.Compile(new string[1]
            {
                obj0.FullName
            }, new string[2]
            {
                "dffds",
                "fdsdf"
            }, 0 != 0);
            ArrayList arrayList = new ArrayList();

            foreach (Type type in compilerResults.CompiledAssembly.GetTypes())
            {
                object[] customAttributes = type.GetCustomAttributes(typeof(TesterComponentAttribute), false);
                string   name;
                string   description;
                if (customAttributes.Length > 0)
                {
                    TesterComponentAttribute componentAttribute = customAttributes[0] as TesterComponentAttribute;
                    name        = componentAttribute.Name == null ? type.Name : componentAttribute.Name;
                    description = componentAttribute.Description == null ? "" : componentAttribute.Description;
                }
                else
                {
                    name        = type.Name;
                    description = "";
                }
                TesterComponentRecord testerComponentRecord = new TesterComponentRecord(name, description, obj0, type);
                TesterComponentManager.G1d22oBB0.x1QyU3cJOi(testerComponentRecord);
                arrayList.Add((object)testerComponentRecord);
            }
            return(arrayList.ToArray(typeof(TesterComponentRecord)) as TesterComponentRecord[]);
        }
示例#2
0
    private static TesterComponentRecord[] rAdPWPX1l([In] FileInfo obj0)
    {
      CompilerResults compilerResults = CompilingService.Compile(new string[1]
      {
        obj0.FullName
      }, new string[2]
      {
					"dffds",
					"fdsdf"
      }, 0 != 0);
      ArrayList arrayList = new ArrayList();
      foreach (Type type in compilerResults.CompiledAssembly.GetTypes())
      {
        object[] customAttributes = type.GetCustomAttributes(typeof (TesterComponentAttribute), false);
        string name;
        string description;
        if (customAttributes.Length > 0)
        {
          TesterComponentAttribute componentAttribute = customAttributes[0] as TesterComponentAttribute;
          name = componentAttribute.Name == null ? type.Name : componentAttribute.Name;
          description = componentAttribute.Description == null ? "" : componentAttribute.Description;
        }
        else
        {
          name = type.Name;
          description = "";
        }
        TesterComponentRecord testerComponentRecord = new TesterComponentRecord(name, description, obj0, type);
        TesterComponentManager.G1d22oBB0.x1QyU3cJOi(testerComponentRecord);
        arrayList.Add((object) testerComponentRecord);
      }
      return arrayList.ToArray(typeof (TesterComponentRecord)) as TesterComponentRecord[];
    }
        public static TesterItem GetComponent(string name)
        {
            TesterComponentRecord testerComponentRecord = TesterComponentManager.G1d22oBB0[name];
            TesterItem            testerItem            = Activator.CreateInstance(testerComponentRecord.Type, new object[1]
            {
                (object)name
            }) as TesterItem;

            testerItem.Name        = testerComponentRecord.Name;
            testerItem.Description = testerComponentRecord.Description;
            return(testerItem);
        }
        private static void D46LsaCyb([In] TesterComponentRecord obj0)
        {
//      if (TesterComponentManager.hCg6tO1Ha == null)
//        return;
//      TesterComponentManager.hCg6tO1Ha(new TesterComponentEventArgs(obj0));
        }
示例#5
0
		public TesterComponentEventArgs(TesterComponentRecord component):base()
    {
      this.UjAyJfIQgT = component;
    }
 public TesterComponentEventArgs(TesterComponentRecord component) : base()
 {
     this.UjAyJfIQgT = component;
 }
 internal void x1QyU3cJOi([In] TesterComponentRecord obj0)
 {
     this.jLpy88DHjp.Add((object)obj0.Name, (object)obj0);
 }