public static void NotNull(object argument, string argumentName, string message)
 {
     if (argument == null)
     {
         throw Exception.Argument(message, argumentName);
     }
 }
        public static void NotNullOrEmpty(string argument, string argumentName)
        {
            if (argument == null)
            {
                throw new ArgumentNullException(argumentName);
            }

            if (String.IsNullOrEmpty(argument))
            {
                throw Exception.Argument("Passed argument can't be empty string.", argumentName);
            }
        }