Class InUseNotificationRepository
Inheritance
System.Object
InUseNotificationRepository
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: EPiServer.UI.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(ServiceType = typeof(IInUseNotificationRepository), Lifecycle = ServiceInstanceScope.Singleton)]
public class InUseNotificationRepository : IInUseNotificationRepository, IDisposable
Constructors
InUseNotificationRepository(DynamicDataStoreFactory, ISynchronizedObjectInstanceCache)
Declaration
public InUseNotificationRepository(DynamicDataStoreFactory storeFactory, ISynchronizedObjectInstanceCache cache)
Parameters
Methods
AddInUseNotification(InUseNotification)
Declaration
public bool AddInUseNotification(InUseNotification newNotification)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Dispose()
Declaration
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
GetAllInUseNotifications()
Declaration
public IEnumerable<InUseNotification> GetAllInUseNotifications()
Returns
GetContentInUseNotification(IContent)
Declaration
public IEnumerable<InUseNotification> GetContentInUseNotification(IContent content)
Parameters
Returns
GetContentInUseNotification(Guid, String)
Declaration
public IEnumerable<InUseNotification> GetContentInUseNotification(Guid contentGuid, string languageBranch)
Parameters
Type |
Name |
Description |
System.Guid |
contentGuid |
|
System.String |
languageBranch |
|
Returns
GetInUseNotification(Identity)
Declaration
public InUseNotification GetInUseNotification(Identity id)
Parameters
Returns
GetInUseNotification(String, IContent)
Declaration
public InUseNotification GetInUseNotification(string user, IContent content)
Parameters
Type |
Name |
Description |
System.String |
user |
|
IContent |
content |
|
Returns
GetInUseNotification(String, Guid, String)
Declaration
public InUseNotification GetInUseNotification(string user, Guid contentGuid, string languageBranch)
Parameters
Type |
Name |
Description |
System.String |
user |
|
System.Guid |
contentGuid |
|
System.String |
languageBranch |
|
Returns
GetInUseNotification(String, Guid, String, Boolean)
Declaration
public InUseNotification GetInUseNotification(string user, Guid contentGuid, string languageBranch, bool addedManually)
Parameters
Type |
Name |
Description |
System.String |
user |
|
System.Guid |
contentGuid |
|
System.String |
languageBranch |
|
System.Boolean |
addedManually |
|
Returns
RemoveInUseNotification(InUseNotification)
Declaration
public void RemoveInUseNotification(InUseNotification inUseNotification)
Parameters
UpdateInUseNotification(InUseNotification)
Declaration
public void UpdateInUseNotification(InUseNotification inUseNotification)
Parameters
Implements
System.IDisposable
Extension Methods