public NewSensorDynamicParameterCategory(SensorType type, NewSensorDestinationType destinationType,
                                                 AlternateParameterSet alternateSet)
        {
            parameterSets = new Lazy <ParameterSetDescriptor[]>(GetParameterSets);

            Type            = type;
            DestinationType = destinationType;

            this.alternateSet = alternateSet;
        }
        public NewSensorDynamicParameterCategory(SensorType type, NewSensorDestinationType destinationType,
                                                 Func <PSCmdlet> makeCmdlet = null, Action <dynamic, Dictionary <string, object> > valueFromPipeline = null)
        {
            parameterSets = new Lazy <ParameterSetDescriptor[]>(GetParameterSets);

            Type                   = type;
            DestinationType        = destinationType;
            this.makeCmdlet        = makeCmdlet;
            this.valueFromPipeline = valueFromPipeline;
        }