Class DefaultSiteDefinitionRepository
Inheritance
System.Object
DefaultSiteDefinitionRepository
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class DefaultSiteDefinitionRepository : Object, ISiteDefinitionRepository, ISiteDefinitionEvents
Constructors
DefaultSiteDefinitionRepository(SiteDefinitionDB, ISynchronizedObjectInstanceCache, IEventRegistry, ITimeProvider, IPrincipalAccessor)
Declaration
public DefaultSiteDefinitionRepository(SiteDefinitionDB dataAccess, ISynchronizedObjectInstanceCache cache, IEventRegistry eventRegistry, ITimeProvider timeProvider, IPrincipalAccessor principalAccessor)
Parameters
Fields
ChangedEventId
Declaration
public static readonly Guid ChangedEventId
Field Value
Type |
Description |
System.Guid |
|
EventRaiserId
Declaration
public static readonly Guid EventRaiserId
Field Value
Type |
Description |
System.Guid |
|
Methods
Delete(Guid)
Declaration
public virtual void Delete(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Get(Guid)
Declaration
public virtual SiteDefinition Get(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Returns
List()
Declaration
public virtual IEnumerable<SiteDefinition> List()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<SiteDefinition> |
|
Save(SiteDefinition)
Declaration
public virtual void Save(SiteDefinition siteDefinition)
Parameters
Events
SiteCreated
Declaration
public event EventHandler<SiteDefinitionEventArgs> SiteCreated
Event Type
SiteDefinitionChanged
Declaration
public event EventHandler<EventArgs> SiteDefinitionChanged
Event Type
Type |
Description |
System.EventHandler<System.EventArgs> |
|
SiteDeleted
Declaration
public event EventHandler<SiteDefinitionEventArgs> SiteDeleted
Event Type
SiteUpdated
Declaration
public event EventHandler<SiteDefinitionEventArgs> SiteUpdated
Event Type
Implements
Extension Methods