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); }
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; }