ArchiMetrics.CodeReview.Rules.Code.NameSpellingRuleBase.IsSpelledCorrectly C# (CSharp) Метод

IsSpelledCorrectly() защищенный Метод

protected IsSpelledCorrectly ( string name ) : bool
name string
Результат bool
		protected bool IsSpelledCorrectly(string name)
		{
			return name.ToTitleCase()
				.Split(new[] { " " }, StringSplitOptions.RemoveEmptyEntries)
				.Aggregate(true, (b, s) => b && _speller.Spell(s));
		}
	}