コード例 #1
0
 // protected BxElementBase() { _carrier = null; _container = null; _config = null; }
 public BxElementBase(IBxElement container, IBxElementCarrier carrier)
 {
     _container = container;
     _carrier   = carrier;
     if (_carrier != null)
     {
         _idInCarrier = _carrier.ManageElement(this);
     }
     _config = null;
 }
コード例 #2
0
 BxUIConfigItemEx GetUIConfigItemEx()
 {
     if (_config == null)
     {
         if (_staticItem != null)
         {
             _config = new BxUIConfigItemEx(_staticItem);
         }
         else
         {
             if ((_xmlFileID != null) && (_configItemID != null))
             {
                 BxXmlUIItem item = new BxXmlUIItem(_configItemID.Value, _xmlFileID, _carrier.UIConfigProvider);
                 _config = new BxUIConfigItemEx(item);
             }
         }
     }
     return(_config);
 }