コード例 #1
0
        public ConfigurationGroupLight ConvertToLight()
        {
            ConfigurationGroupLight configurationGroupLight = new ConfigurationGroupLight()
            {
                Configurations = this.Configurations.Cast <MgaFCO>().Select(x => GMELightObject.GetGMELightFromMgaObject(x)).ToArray(),
                IsDirty        = this.IsDirty,
                Owner          = this.Owner == null ? null : GMELightObject.GetGMELightFromMgaObject(this.Owner)
            };

            return(configurationGroupLight);
        }
コード例 #2
0
        public ConfigurationGroupLight ConvertToLight()
        {
            ConfigurationGroupLight configurationGroupLight = new ConfigurationGroupLight()
            {
                Configurations = this.Configurations.Cast<MgaFCO>().Select(x => GMELightObject.GetGMELightFromMgaObject(x)).ToArray(),
                IsDirty = this.IsDirty,
                Owner = this.Owner == null ? null : GMELightObject.GetGMELightFromMgaObject(this.Owner)
            };

            return configurationGroupLight;
        }