<commit_before>﻿using System.Diagnostics;
using Grace.Data;
using Grace.DependencyInjection;

namespace Grace.Diagnostics
{
	[DebuggerDisplay("{DebuggerValueDisplayString,nq}", Name = "{DebuggerNameDisplayString,nq}")]
	public class PossibleMissingDependency
	{
		public ExportStrategyDependency Dependency { get; set; }

		public IExportStrategy Strategy { get; set; }

		[DebuggerBrowsable(DebuggerBrowsableState.Never)]
        // ReSharper disable once UnusedMember.Local
		private string DebuggerNameDisplayString
		{
			get
			{
				if (Dependency.ImportType != null)
				{
					return ReflectionService.GetFriendlyNameForType(Dependency.ImportType, true);
				}

				return Dependency.ImportName;
			}
		}

		[DebuggerBrowsable(DebuggerBrowsableState.Never)]
		// ReSharper disable once UnusedMember.Local
		private string DebuggerValueDisplayString
		{
			get { return "For " + ReflectionService.GetFriendlyNameForType(Strategy.ActivationType); }
		}

	}<commit_msg>Minor tweak for debugger diagnostics<commit_after>﻿using System.Diagnostics;
using Grace.Data;
using Grace.DependencyInjection;

namespace Grace.Diagnostics
{
	[DebuggerDisplay("{DebuggerValueDisplayString,nq}", Name = "{DebuggerNameDisplayString,nq}")]
	public class PossibleMissingDependency
	{
		public ExportStrategyDependency Dependency { get; set; }

		public IExportStrategy Strategy { get; set; }

		[DebuggerBrowsable(DebuggerBrowsableState.Never)]
        // ReSharper disable once UnusedMember.Local
		private string DebuggerNameDisplayString
		{
			get
			{
				if (Dependency.ImportType != null)
				{
					return ReflectionService.GetFriendlyNameForType(Dependency.ImportType);
				}

				return Dependency.ImportName;
			}
		}

		[DebuggerBrowsable(DebuggerBrowsableState.Never)]
		// ReSharper disable once UnusedMember.Local
		private string DebuggerValueDisplayString
		{
			get { return "For " + ReflectionService.GetFriendlyNameForType(Strategy.ActivationType); }
		}

	}
{'fraction_non_alphanumeric': 0.08600508905852418, 'fraction_numerical': 0.0, 'mean_word_length': 4.851190476190476, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4436430', 'n_tokens_mistral': 649, 'n_tokens_neox': 573, 'n_words': 109}