コード例 #1
0
 public virtual void OnInitialization()
 {
     System.Object[] objs = GetType().GetCustomAttributes(typeof(InternalModuleAttribute), true);
     for (int i = 0; i < objs.Length; i++)
     {
         if (typeof(InternalModuleAttribute) == objs[i].GetType())
         {
             attribute   = (InternalModuleAttribute)(objs[i]);
             mModuleType = attribute.moduleType;
             this.d("damon", moduleType.ToString(), false);
         }
     }
 }
コード例 #2
0
 public InternalModuleAttribute(HTFrameworkModuleType moduleType)
 {
     this.moduleType = moduleType;
 }