ContentService.Lock Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Overloads

Lock(Int32, Boolean) Locks a Content item for editing. Only the user that has the lock may update the Content item.
Lock(Int32, Boolean) Locks a Content item for editing. Only the user that has the lock may update the Content item.

Lock(Int32, Boolean)

Locks a Content item for editing. Only the user that has the lock may update the Content item.

public static Content Lock(int id, bool auth = true)

Parameters

id
System.Int32
auth
System.Boolean

Returns

Content

The locked content item.

Lock(Int32, Boolean)

Locks a Content item for editing. Only the user that has the lock may update the Content item.

public static T Lock(int id, bool auth = true)
    where T : Content, ILockable

Parameters

id
System.Int32
auth
System.Boolean

Returns

Content

The locked content item.