Ejemplo n.º 1
0
        public static RegulatorOrganizatonQueryAdapterArguments Parse(NameValueCollection arguments)
        {
            RegulatorOrganizatonQueryAdapterArguments args = new RegulatorOrganizatonQueryAdapterArguments();

            ParseTo(arguments, args);
            return(args);
        }
Ejemplo n.º 2
0
 public static void ParseTo(NameValueCollection arguments, RegulatorOrganizatonQueryAdapterArguments args)
 {
     arguments                     = arguments.ToLowercaseKey();
     args.EstablishedSince         = arguments.GetValueLowercaseKey <DateTime?>(EstablishedSinceArgument_Key, null);
     args.OrganizationName         = arguments.GetValueLowercaseKey <string>(OrganizationNameArgument_Key, null);
     args.OrganizationHeadquarters = arguments.GetValueLowercaseKey <string>(OrganizationHeadquartersArgument_Key, null);
     args.OrganizationCode         = arguments.GetValueLowercaseKey <int?>(OrganizationCodeArgument_Key, null);
     args.IncludeFacilities        = arguments.GetValueLowercaseKey <bool>(IncludeFacilitiesArgument_Key, false);
     args.RegulatorCode            = arguments.GetValueLowercaseKey <int?>(RegulatorCodeArgument_Key, 0);
     args.CERSID                   = arguments.GetValueLowercaseKey <int?>(CERSIDArgument_Key, null);
 }