Example #1
0
 public static bool CheckForDatetimeOrString(object expandedObj)
 {
     try
     {
         IReflectClass refClass = ReflectClassFor(expandedObj);// objectContainer.Ext().Reflector().ForObject(expandedObj);
         if (refClass != null)
         {
             string type = PrimitiveType(refClass.GetName());
             return(CommonValues.IsDateTimeOrString(type));
         }
         return(false);
     }
     catch (Exception oEx)
     {
         LoggingHelper.HandleException(oEx);
         return(false);
     }
 }