Tp.Search.Bus.Commands.BuildSearchIndexesCommand.BuildProfileDto C# (CSharp) Method

BuildProfileDto() private method

private BuildProfileDto ( ) : PluginProfileDto
return PluginProfileDto
		private PluginProfileDto BuildProfileDto()
		{
			return _profile.IsNull
					   ? new PluginProfileDto
						   {
							   Name = SearcherProfile.Name
						   }
					   : new PluginProfileDto
						   {
							   Name = _profile.Name.Value,
							   Settings = _profile.Settings
						   };
		}
	}