ContentService.Get Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
Overloads
Get(Int32, Boolean) | Get the specified Content item. |
Get(Int32, Int64, Boolean) | Get the specified Content version. |
Get |
Get the (latest version) of the specified Content item. |
Get |
Get the specified Content version. |
Get(Int32, Boolean)
Get the specified Content item.
public static Content Get(int id, bool filter = true)
Parameters
- id
- System.Int32
- filter
- System.Boolean
Returns
Content
An
Get(Int32, Int64, Boolean)
Get the specified Content version.
public static Content Get(int id, long version, bool filter = true)
Parameters
- id
- System.Int32
- version
- System.Int64
- filter
- System.Boolean
Returns
Content
An object implementing the
Get(Int32, Boolean)
Get the (latest version) of the specified Content item.
public static T Get(int id, bool filter = true)
where T : Content
Parameters
- id
- System.Int32
- filter
- System.Boolean
Returns
Content
An object of type T
.
Get(Int32, Int64, Boolean)
Get the specified Content version.
public static T Get(int id, long version, bool filter = true)
where T : Content, IVersionable
Parameters
- id
- System.Int32
- version
- System.Int64
- filter
- System.Boolean
Returns
Content
An object of type T
.