// Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.

using System;

namespace DotSpatial.Symbology
{
    /// <summary>
    /// Event args for events that need a feature layer.
    /// </summary>
    public class FeatureLayerEventArgs : EventArgs
    {
        #region Constructors

        /// <summary>
        /// Initializes a new instance of the <see cref="FeatureLayerEventArgs"/> class.
        /// </summary>
        /// <param name="featureLayer">FeatureLayer of the event.</param>
        public FeatureLayerEventArgs(IFeatureLayer featureLayer)
        {
            FeatureLayer = featureLayer;
        }

        #endregion

        #region Properties

        /// <summary>
        /// Gets or sets the feature layer for this event.
        /// </summary>
        public IFeatureLayer FeatureLayer { get; protected set; }

        #endregion
    }
}