* TourController now uses the core tours from embedded resources * Moved tinyMceConfig.*.config to IOptions * Embedded the default grid.editors.config.js * Fixed issue when saving grid with an empty media cell * Logviewer now uses sql as database instead of file. * Remove config folder from build script and nuget pacakges. * Removing auto-generated Id added to appsettings.json * Update src/Umbraco.Web.BackOffice/Controllers/TourController.cs Co-authored-by: Elitsa Marinovska <elm@umbraco.dk> Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
35 lines
820 B
C#
35 lines
820 B
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using Umbraco.Cms.Core.Models.Entities;
|
|
|
|
namespace Umbraco.Cms.Core.Models
|
|
{
|
|
[Serializable]
|
|
[DataContract(IsReference = true)]
|
|
public class LogViewerQuery : EntityBase, ILogViewerQuery
|
|
{
|
|
private string _name;
|
|
private string _query;
|
|
|
|
public LogViewerQuery(string name, string query)
|
|
{
|
|
Name = name;
|
|
_query = query;
|
|
}
|
|
|
|
[DataMember]
|
|
public string Name
|
|
{
|
|
get => _name;
|
|
set => SetPropertyValueAndDetectChanges(value, ref _name, nameof(Name));
|
|
}
|
|
|
|
[DataMember]
|
|
public string Query
|
|
{
|
|
get => _query;
|
|
set => SetPropertyValueAndDetectChanges(value, ref _query, nameof(Query));
|
|
}
|
|
}
|
|
}
|