/// <summary> /// Gets or sets the <see cref="System.Double"/> with the specified curvature property. /// </summary> /// <value></value> public Double this[WingCurvatureProperty curvatureProperty] { get { return(_curvaturePropertiesDouble[curvatureProperty]); } set { SetProperty(curvatureProperty, value); } }
/// <summary> /// Sets the parameter. /// </summary> /// <param name="curvatureProperty">Type of the parameter.</param> /// <param name="value">The value.</param> private void SetProperty(WingCurvatureProperty curvatureProperty, Double value) { if (_curvaturePropertiesDouble.ContainsKey(curvatureProperty)) { _curvaturePropertiesDouble[curvatureProperty] = value; } else { _curvaturePropertiesDouble.Add(curvatureProperty, value); if ((_curvaturePropertiesDouble.Count == PropertiesCount) && (_etoDate != NullDate)) { _allPropertiesSet = true; } } }
/// <summary> /// Gets or sets the <see cref="System.Double"/> with the specified curvature property. /// </summary> /// <value></value> public Double this[WingCurvatureProperty curvatureProperty] { get => _curvaturePropertiesDouble[curvatureProperty];