Exemplo n.º 1
0
 public void SetModule(ILogicModule m)
 {
     if (m == null)
     {
         throw new ArgumentNullException("ILogicModule");
     }
     module = (TradeAge.Server.Interface.Server.IScene)m;
     if (module == null)
     {
         throw new NullReferenceException(string.Format("{0} not TradeAge.Server.Interface.Server.IScene", m.GetType().FullName));
     }
 }
Exemplo n.º 2
0
 public void SetModule(ILogicModule m)
 {
     if (m == null)
         throw new ArgumentNullException("ILogicModule");
     module = (TradeAge.Server.Interface.Server.IScene)m;
     if (module == null)
     {
         throw new NullReferenceException(string.Format("{0} not TradeAge.Server.Interface.Server.IScene", m.GetType().FullName));
     }
 }