Ejemplo n.º 1
0
        public static Guid GetRequiredGuidParameter(string parameterName)
        {
            Guid?guid = WebFormsHelper.GetGuidParameter(parameterName);

            if (!guid.HasValue)
            {
                throw new Exception(string.Format("Missing {0} Parameter", parameterName));
            }
            return(guid.Value);
        }
Ejemplo n.º 2
0
 public Guid GetGuidParameter(string parameterName, Guid defaultValue)
 {
     return(WebFormsHelper.GetGuidParameter(parameterName, defaultValue));
 }
Ejemplo n.º 3
0
        public static Guid GetGuidParameter(string parameterName, Guid defaultValue)
        {
            Guid?returnValue = WebFormsHelper.GetGuidParameter(parameterName);

            return(returnValue.GetValueOrDefault(defaultValue));
        }
Ejemplo n.º 4
0
 public Guid?GetGuidParameter(string parameterName)
 {
     return(WebFormsHelper.GetGuidParameter(parameterName));
 }