Tp.MashupManager.Mashup.ValidateNameContainsOnlyValidChars C# (CSharp) 메소드

ValidateNameContainsOnlyValidChars() 보호된 메소드

protected ValidateNameContainsOnlyValidChars ( PluginProfileErrorCollection errors ) : void
errors PluginProfileErrorCollection
리턴 void
		protected void ValidateNameContainsOnlyValidChars(PluginProfileErrorCollection errors)
		{
			if (!ProfileDtoValidator.IsValid(Name))
				errors.Add(new PluginProfileError
				{
					FieldName = NameField,
					Message = "You can only use letters, numbers, space and underscore symbol in Mashup name"
				});
		}