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