C# Class GSoft.Dynamite.Setup.ViewBuilder

List view builder.
Mostrar archivo Open project: GSoft-SharePoint/Dynamite-2010

Public Methods

Method Description
EnsureCalendarOverlays ( SPViewCollection viewCollection, CalendarOverlayInfo overlayInfos ) : void

Ensures the calendar overlays. Note: This clears the existing overlays.

EnsureCalendarOverlays ( SPViewCollection viewCollection, CalendarOverlayInfo overlayInfos, SPList overlayList ) : void

Ensures the calendar overlays. Note: This clears the existing overlays.

EnsureView ( SPViewCollection viewCollection, ViewInfo viewInfo ) : SPView

Ensures the view.

ViewBuilder ( ILogger logger ) : System

Initializes a new instance of the ViewBuilder class.

Private Methods

Method Description
AddCalendarOverlay ( SPList targetList, string viewName, string overlayViewName, string owaUrl, string exchangeUrl, SPList overlayList, string overlayName, string overlayDescription, CalendarOverlayColor color, bool alwaysShow, bool clearExisting ) : void

Method Details

EnsureCalendarOverlays() public method

Ensures the calendar overlays. Note: This clears the existing overlays.
public EnsureCalendarOverlays ( SPViewCollection viewCollection, CalendarOverlayInfo overlayInfos ) : void
viewCollection SPViewCollection The view collection.
overlayInfos CalendarOverlayInfo The overlay information objects.
return void

EnsureCalendarOverlays() public method

Ensures the calendar overlays. Note: This clears the existing overlays.
public EnsureCalendarOverlays ( SPViewCollection viewCollection, CalendarOverlayInfo overlayInfos, SPList overlayList ) : void
viewCollection SPViewCollection The view collection.
overlayInfos CalendarOverlayInfo The overlay information objects.
overlayList SPList The overlay list.
return void

EnsureView() public method

Ensures the view.
public EnsureView ( SPViewCollection viewCollection, ViewInfo viewInfo ) : SPView
viewCollection SPViewCollection The view collection.
viewInfo ViewInfo The view information.
return SPView

ViewBuilder() public method

Initializes a new instance of the ViewBuilder class.
public ViewBuilder ( ILogger logger ) : System
logger ILogger The logger.
return System