Table of Contents

Class Extensions

Namespace
Dynamicweb.Content
Assembly
Dynamicweb.dll
Content specific extension methods for the Service locator (IServiceLocator).
[Obsolete("Do not use")]
public static class Extensions
Inheritance
Extensions
Inherited Members

Methods

GetAreaService(IServiceLocator)

Gets an implementation of the IAreaService interface
[Obsolete("Use Dynamicweb.Content.Services.Areas instead.")]
public static IAreaService GetAreaService(this IServiceLocator serviceLocator)

Parameters

serviceLocator IServiceLocator
Extension method for an implementation of the IServiceLocator interface

Returns

IAreaService
An instance of the IAreaService interface

GetAuditService(IServiceLocator)

Gets an implementation of the IAuditService interface
[Obsolete("Use Dynamicweb.Auditing.AuditService instead.")]
public static IAuditService GetAuditService(this IServiceLocator serviceLocator)

Parameters

serviceLocator IServiceLocator
Extension method for an implementation of the IServiceLocator interface

Returns

IAuditService
An instance of the IAuditService interface

GetCheckOutService(IServiceLocator)

Gets an implementation of the IObjectLockerService interface
[Obsolete("Use Dynamicweb.Content.Versioning.CheckOutService instead.")]
public static ICheckOutService GetCheckOutService(this IServiceLocator serviceLocator)

Parameters

serviceLocator IServiceLocator
Extension method for an implementation of the IServiceLocator interface

Returns

ICheckOutService
An instance of the IObjectLockerService interface

GetItemService(IServiceLocator)

Gets an implementation of the IItemService interface
[Obsolete("Use Dynamicweb.Content.Services.Items instead.")]
public static IItemService GetItemService(this IServiceLocator serviceLocator)

Parameters

serviceLocator IServiceLocator
Extension method for an implementation of the IServiceLocator interface

Returns

IItemService
An instance of the IItemService interface

GetPageService(IServiceLocator)

Gets an implementation of the IPageService interface
[Obsolete("Use Dynamicweb.Content.Services.Pages instead.")]
public static IPageService GetPageService(this IServiceLocator serviceLocator)

Parameters

serviceLocator IServiceLocator
Extension method for an implementation of the IServiceLocator interface

Returns

IPageService
An instance of the IPageService interface

GetParagraphService(IServiceLocator)

Gets an implementation of the IParagraphService interface
[Obsolete("Use Dynamicweb.Content.Services.Paragraphs instead.")]
public static IParagraphService GetParagraphService(this IServiceLocator serviceLocator)

Parameters

serviceLocator IServiceLocator
Extension method for an implementation of the IServiceLocator interface

Returns

IParagraphService
An instance of the IParagraphService interface
To top