public override void EndInitialization() { if (_log.IsDebugEnabled) { _log.DebugFormat("Starting {0}", MethodBase.GetCurrentMethod().ToString()); } if (Art != null) { Art.EndInitialization(); } if (FleetAICommonality != null) { FleetAICommonality.EndInitialization(); } if (InternalDefinition != null) { InternalDefinition.EndInitialization(); } if (Carrier != null) { Carrier.EndInitialization(); } Shields.EndInitialization(); if (Performance != null) { Performance.EndInitialization(); } if (DronePorts != null) { DronePorts.EndInitialization(); } if (BeamPorts != null) { BeamPorts.EndInitialization(); } if (TorpedoTubes != null) { TorpedoTubes.EndInitialization(); } if (EnginePorts != null) { EnginePorts.EndInitialization(); } if (ManeuverPoints != null) { ManeuverPoints.EndInitialization(); } if (ImpulsePoints != null) { ImpulsePoints.EndInitialization(); } if (Torpedoes != null) { Torpedoes.EndInitialization(); } if (Description != null) { Description.EndInitialization(); } base.EndInitialization(); if (_log.IsDebugEnabled) { _log.DebugFormat("Ending {0}", MethodBase.GetCurrentMethod().ToString()); } }
public override void RejectChanges() { if (Art != null) { Art.RejectChanges(); } if (FleetAICommonality != null) { FleetAICommonality.RejectChanges(); } if (Carrier != null) { Carrier.RejectChanges(); } if (InternalDefinition != null) { InternalDefinition.RejectChanges(); } Shields.RejectChanges(); if (Performance != null) { Performance.RejectChanges(); } if (BeamPorts != null) { BeamPorts.RejectChanges(); } if (DronePorts != null) { DronePorts.RejectChanges(); } if (Torpedoes != null) { Torpedoes.RejectChanges(); } if (TorpedoTubes != null) { TorpedoTubes.RejectChanges(); } if (EnginePorts != null) { EnginePorts.RejectChanges(); } if (ManeuverPoints != null) { ManeuverPoints.RejectChanges(); } if (ImpulsePoints != null) { ImpulsePoints.RejectChanges(); } if (Description != null) { Description.RejectChanges(); } base.RejectChanges(); }