internal void InitializeFrom(ApplicationContainerSettings settings) { if (null == settings) { throw FxTrace.Exception.ArgumentNull("settings"); } SetPropertyValueIfNotDefaultValue(ConfigurationStrings.PackageFullName, settings.PackageFullName); SetPropertyValueIfNotDefaultValue(ConfigurationStrings.SessionIdAttribute, settings.SessionId); }
internal void ApplyConfiguration(ApplicationContainerSettings settings) { if (null == settings) { throw FxTrace.Exception.ArgumentNull("settings"); } settings.PackageFullName = this.PackageFullName; settings.SessionId = this.SessionId; }
internal bool IsMatch(ApplicationContainerSettings applicationContainerSettings) { if (applicationContainerSettings == null) { return false; } if (this.PackageFullName != applicationContainerSettings.PackageFullName) { return false; } if (this.sessionId != applicationContainerSettings.sessionId) { return false; } return true; }
ApplicationContainerSettings(ApplicationContainerSettings source) { this.PackageFullName = source.PackageFullName; this.sessionId = source.sessionId; }