示例#1
0
        protected void SetupSmartCIOManager()
        {
            _smartCIOManager = new PUC.CIO.SmartCIOManager();


            // time-duration: TimeDurationSmartCIO
            _smartCIOManager.AddSmartCIO(
                "time-duration",
                new SmartCIO.CreateSmartCIO(PUC.CIO.TimeDuration.TimeDurationSmartCIO.CreateTimeDurationSmartCIO)
                );

            // media-controls: MediaControlsSmartCIO
            _smartCIOManager.AddSmartCIO(
                "media-controls",
                new SmartCIO.CreateSmartCIO(PUC.CIO.MediaControls.MediaControlsSmartCIO.CreateMediaControlsSmartCIO)
                );

            // dimmer: DimmerSmartCIO
            _smartCIOManager.AddSmartCIO(
                "dimmer",
                new SmartCIO.CreateSmartCIO(PUC.CIO.Dimmer.DimmerSmartCIO.CreateDimmerSmartCIO)
                );

            // image: ImageSmartCIO
            _smartCIOManager.AddSmartCIO(
                "image",
                new SmartCIO.CreateSmartCIO(PUC.CIO.Image.ImageSmartCIO.CreateImageSmartCIO)
                );

            // image-list: ImageListSmartCIO
            _smartCIOManager.AddSmartCIO(
                "image-list",
                new SmartCIO.CreateSmartCIO(PUC.CIO.ImageList.ImageListSmartCIO.CreateImageListSmartCIO)
                );
        }
示例#2
0
        protected void SetupSmartCIOManager()
        {
            _smartCIOManager = new PUC.CIO.SmartCIOManager();

            // time-duration: TimeDurationSmartCIO
            _smartCIOManager.AddSmartCIO(
                "time-duration",
                new SmartCIO.CreateSmartCIO(PUC.CIO.TimeDuration.TimeDurationSmartCIO.CreateTimeDurationSmartCIO)
                );

            /*
             * // media-controls: MediaControlsSmartCIO
             * _smartCIOManager.AddSmartCIO(
             *      "media-controls",
             *      new SmartCIO.CreateSmartCIO(PUC.CIO.MediaControls.MediaControlsSmartCIO.CreateMediaControlsSmartCIO)
             *      );*/
        }