Class DefaultSiteDefinitionRepository
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inheritance
System.Object
DefaultSiteDefinitionRepository
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.dll
Version: 11.20.7
Syntax
public class DefaultSiteDefinitionRepository : 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