Buddy.UI.Core.Themes.AccentColor.AccentColor C# (CSharp) Method

AccentColor() public method

Initializes a new instance of the AccentColor class.
public AccentColor ( System.Windows.ResourceDictionary resourceDictionary, string name ) : System
resourceDictionary System.Windows.ResourceDictionary The resource dictionary.
name string The name.
return System
		public AccentColor(ResourceDictionary resourceDictionary, string name)
		{
			if (resourceDictionary == null)
				throw new ArgumentNullException(nameof(resourceDictionary));

			ResourceDictionary = resourceDictionary;
			Name = name;
		}