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