Class LogViewerQuery
Represents a saved query for the log viewer.
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
[DataContract(IsReference = true)]
public class LogViewerQuery : EntityBase, IRememberBeingDirty, ICanBeDirty, ILogViewerQuery, IEntity, IDeepCloneable
Constructors
View SourceLogViewerQuery(string, string)
Initializes a new instance of the LogViewerQuery class.
Declaration
public LogViewerQuery(string name, string query)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the saved query. |
| string | query | The query string expression. |
Properties
View SourceName
Gets or sets the name of the saved query.
Declaration
[DataMember]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Query
Gets or sets the query string expression.
Declaration
[DataMember]
public string Query { get; set; }
Property Value
| Type | Description |
|---|---|
| string |