コード例 #1
0
 protected void RemoveComponent(IRcpaComponent comp)
 {
     if (null != comp && this.componentList.ContainsKey(comp))
     {
         this.componentList.Remove(comp);
     }
 }
コード例 #2
0
ファイル: ComponentUI.cs プロジェクト: shengqh/RCPA.Core
    protected void AddComponent(IRcpaComponent comp)
    {
      if (comp == null)
      {
        throw new ArgumentException("Argument cannot be null.");
      }

      this.componentList[comp] = true;
    }
コード例 #3
0
        protected void AddComponent(IRcpaComponent comp)
        {
            if (comp == null)
            {
                throw new ArgumentException("Argument cannot be null.");
            }

            this.componentList[comp] = true;
        }
コード例 #4
0
ファイル: ComponentUI.cs プロジェクト: shengqh/RCPA.Core
 protected void SetComponentEnabled(IRcpaComponent comp, bool enabled)
 {
   this.componentList[comp] = enabled;
 }
コード例 #5
0
ファイル: ComponentUI.cs プロジェクト: shengqh/RCPA.Core
 protected void RemoveComponent(IRcpaComponent comp)
 {
   this.componentList.Remove(comp);
 }
コード例 #6
0
 protected void SetComponentEnabled(IRcpaComponent comp, bool enabled)
 {
     this.componentList[comp] = enabled;
 }
コード例 #7
0
 protected void RemoveComponent(IRcpaComponent comp)
 {
     this.componentList.Remove(comp);
 }