Пример #1
0
        public override object Invoke(object objetAppelle, params object[] parametres)
        {
            CSite site = objetAppelle as CSite;

            if (site == null)
            {
                return(null);
            }

            return(CMethodeSupplementaireSelectLastSiteDataAt.GetDataAt(site, null, false));
        }
Пример #2
0
 public override object Invoke(object objetAppelle, params object[] parametres)
 {
     CSite site = objetAppelle as CSite;
     if (site == null)
         return null;
     DateTime? dtLimite = null;
     if (parametres.Length == 1 && parametres[0] is DateTime)
     {
         dtLimite = (DateTime?)parametres[0];
     }
     return CMethodeSupplementaireSelectLastSiteDataAt.GetDataAt(site, dtLimite, true);
 }