public FeatureListViewItem(Feature feature) : base() { _feature = feature; // just check the features that are resetting, these are most likely the common features such as configuration files // if (_feature.Action == FeatureActions.ResetToDefault || _feature.Action == FeatureActions.ResetToBlank) // base.Checked = true; base.Text = _feature.Name; base.SubItems.Add(EnumHelper.GetEnumValueDescription(_feature.Action, typeof(FeatureActions))); base.SubItems.Add(_feature.Description); // this.ParseMetadataForActionDescription(); }
public FeatureCancelEventArgs(Feature feature, bool cancel) : base(cancel) { _feature = feature; }
public FeatureEventArgs(Feature feature) { _feature = feature; }