Class PartialViewSnippetSlim
A lightweight representation of a partial view snippet (i.e. without content).
Inheritance
object
Namespace: Umbraco.Cms.Core.Snippets
Assembly: Umbraco.Core.dll
Syntax
public class PartialViewSnippetSlim
Constructors
View SourcePartialViewSnippetSlim(string, string)
Declaration
public PartialViewSnippetSlim(string id, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | |
| string | name |
Properties
View SourceId
Gets the ID of the snippet.
Declaration
public string Id { get; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Gets the name of the snippet.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |