Tp.Search.Bus.Commands.BuildSearchIndexesCommand.BuildProfileDto C# (CSharp) Метод

BuildProfileDto() приватный Метод

private BuildProfileDto ( ) : PluginProfileDto
Результат PluginProfileDto
		private PluginProfileDto BuildProfileDto()
		{
			return _profile.IsNull
					   ? new PluginProfileDto
						   {
							   Name = SearcherProfile.Name
						   }
					   : new PluginProfileDto
						   {
							   Name = _profile.Name.Value,
							   Settings = _profile.Settings
						   };
		}
	}