<commit_before>﻿using umbraco.interfaces;

namespace umbraco.cms.presentation.developer.RelationTypes.TreeMenu
{
	/// <summary>
	/// Create new Relation Type - an Umbraco tree context menu action
	/// </summary>
	public class ActionNewRelationType : IAction
	{
		/// <summary>
		/// Private field for the singleton instance
		/// </summary>
		private static readonly ActionNewRelationType instance = new ActionNewRelationType();

		/// <summary>
		/// Gets a singleton instance of this action
		/// </summary>
		public static ActionNewRelationType Instance
		{
			get { return instance; }
		}

		#region IAction Members

		/// <summary>
		/// Gets a string alias used to identify this action
		/// </summary>
		public string Alias
		{
			get { return "create"; }
		}

		/// <summary>
		/// Gets a unique char to associate with this action
		/// </summary>
		public char Letter
		{
			get { return '®'; }
		}

		/// <summary>
		/// Gets a value indicating whether the Umbraco notification area is used ?
		/// </summary>
		public bool ShowInNotifier
		{
			get { return false; }
		}

		/// <summary>
		/// Gets a value indicating whether this action can be configured for use only by specific members
		/// </summary>
		public bool CanBePermissionAssigned
		{
			get { return false; } // Since this tree is in the developer section, no further granular permissions are required
		}

		/// <summary>
		/// Gets an icon to be used for the right click action 
		/// </summary>
		public string Icon
		{
			get { return "add"; } // add refers to an existing sprite
		}

		/// <summary>
		/// Gets a string for the javascript source
		/// </summary>
		public string JsSource
		{
			get { return "~/umbraco/developer/RelationTypes/TreeMenu/ActionNewRelationType.js"; }
		}

		/// <summary>
		/// Gets a javascript string to execute when this action is fired
		/// </summary>
		public string JsFunctionName
		{
			get { return "javascript:actionNewRelationType();"; }
		}

		#endregion
	}
}
<commit_msg>U4-1117 - Fixed any errors when renaming /umbraco to something else<commit_after>﻿using umbraco.interfaces;

namespace umbraco.cms.presentation.developer.RelationTypes.TreeMenu
{
	/// <summary>
	/// Create new Relation Type - an Umbraco tree context menu action
	/// </summary>
	public class ActionNewRelationType : IAction
	{
		/// <summary>
		/// Private field for the singleton instance
		/// </summary>
		private static readonly ActionNewRelationType instance = new ActionNewRelationType();

		/// <summary>
		/// Gets a singleton instance of this action
		/// </summary>
		public static ActionNewRelationType Instance
		{
			get { return instance; }
		}

		#region IAction Members

		/// <summary>
		/// Gets a string alias used to identify this action
		/// </summary>
		public string Alias
		{
			get { return "create"; }
		}

		/// <summary>
		/// Gets a unique char to associate with this action
		/// </summary>
		public char Letter
		{
			get { return '®'; }
		}

		/// <summary>
		/// Gets a value indicating whether the Umbraco notification area is used ?
		/// </summary>
		public bool ShowInNotifier
		{
			get { return false; }
		}

		/// <summary>
		/// Gets a value indicating whether this action can be configured for use only by specific members
		/// </summary>
		public bool CanBePermissionAssigned
		{
			get { return false; } // Since this tree is in the developer section, no further granular permissions are required
		}

		/// <summary>
		/// Gets an icon to be used for the right click action 
		/// </summary>
		public string Icon
		{
			get { return "add"; } // add refers to an existing sprite
		}

		/// <summary>
		/// Gets a string for the javascript source
		/// </summary>
		public string JsSource
		{
			get { return "developer/RelationTypes/TreeMenu/ActionNewRelationType.js"; }
		}

		/// <summary>
		/// Gets a javascript string to execute when this action is fired
		/// </summary>
		public string JsFunctionName
		{
			get { return "javascript:actionNewRelationType();"; }
		}

		#endregion
	}
}

{'fraction_non_alphanumeric': 0.11005240590757503, 'fraction_numerical': 0.0011910433539780848, 'mean_word_length': 2.316745655608215, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '5401537', 'n_tokens_mistral': 1408, 'n_tokens_neox': 1160, 'n_words': 419}