C# 클래스 SobekCM.Library.ItemViewer.ItemViewer_Factory

Static class is a factory that generates and returns the requested item viewer object which extends the SobekCM.Library.ItemViewer.Viewers.abstractItemViewer class.
파일 보기 프로젝트 열기: MarkVSullivan/SobekCM-Web-Application

공개 메소드들

메소드 설명
Clear ( ) : void

Clears the dictionaries of item viewer prototypes, used when the cache is reset either manually or automatically

Configure_Brief_Item_Viewers ( BriefItemInfo BriefItem ) : void

Configure the viewers for a single brief item to match this user interface settings

Get_Item_Viewer ( BriefItemInfo CurrentItem, string ViewerCode ) : iItemViewerPrototyper

Gets the appropriate item viewer prototyper ( SobekCM.Library.ItemViewer.Viewer.iItemViewerPriority ) class for an individual item, based on the requested viewer code

Get_Viewer_By_ViewType ( string ViewType ) : iItemViewerPrototyper

Accepts a view type (string) from the digital resource object and returns the appropriate item viewer object which extends the SobekCM.Library.ItemViewer.Viewer.iItemViewerPriority class for rendering items to the web via HTML.

Get_Viewer_By_ViewerCode ( string ViewerCode ) : iItemViewerPrototyper

Accepts a viewer code (string) from the digital resource object and returns the appropriate item viewer object which extends the SobekCM.Library.ItemViewer.Viewer.iItemViewerPriority class for rendering items to the web via HTML.

ViewCode_From_ViewType ( string ViewType ) : string

Gets the viewer code (used in URLs and such) for a specific view type, or NULL if the current instance doesn't support that viewer type

ViewType_From_ViewerCode ( string ViewerCode ) : string

Gets the standard viewer type from a viewer code, or NULL if the current instance doesn't support that viewer code

비공개 메소드들

메소드 설명
configureItemViewers ( ) : void
configurePrototyper ( string assembly, string className ) : iItemViewerPrototyper

메소드 상세

Clear() 공개 정적인 메소드

Clears the dictionaries of item viewer prototypes, used when the cache is reset either manually or automatically
public static Clear ( ) : void
리턴 void

Configure_Brief_Item_Viewers() 공개 정적인 메소드

Configure the viewers for a single brief item to match this user interface settings
public static Configure_Brief_Item_Viewers ( BriefItemInfo BriefItem ) : void
BriefItem BriefItemInfo Brief item to adjust selected viewers
리턴 void

Get_Item_Viewer() 공개 정적인 메소드

Gets the appropriate item viewer prototyper ( SobekCM.Library.ItemViewer.Viewer.iItemViewerPriority ) class for an individual item, based on the requested viewer code
public static Get_Item_Viewer ( BriefItemInfo CurrentItem, string ViewerCode ) : iItemViewerPrototyper
CurrentItem BriefItemInfo The current item.
ViewerCode string The viewer code.
리턴 iItemViewerPrototyper

Get_Viewer_By_ViewType() 공개 정적인 메소드

Accepts a view type (string) from the digital resource object and returns the appropriate item viewer object which extends the SobekCM.Library.ItemViewer.Viewer.iItemViewerPriority class for rendering items to the web via HTML.
public static Get_Viewer_By_ViewType ( string ViewType ) : iItemViewerPrototyper
ViewType string Viewer code to retrieve
리턴 iItemViewerPrototyper

Get_Viewer_By_ViewerCode() 공개 정적인 메소드

Accepts a viewer code (string) from the digital resource object and returns the appropriate item viewer object which extends the SobekCM.Library.ItemViewer.Viewer.iItemViewerPriority class for rendering items to the web via HTML.
public static Get_Viewer_By_ViewerCode ( string ViewerCode ) : iItemViewerPrototyper
ViewerCode string Viewer code to retrieve
리턴 iItemViewerPrototyper

ViewCode_From_ViewType() 공개 정적인 메소드

Gets the viewer code (used in URLs and such) for a specific view type, or NULL if the current instance doesn't support that viewer type
public static ViewCode_From_ViewType ( string ViewType ) : string
ViewType string Standard type of the viewer to find
리턴 string

ViewType_From_ViewerCode() 공개 정적인 메소드

Gets the standard viewer type from a viewer code, or NULL if the current instance doesn't support that viewer code
public static ViewType_From_ViewerCode ( string ViewerCode ) : string
ViewerCode string Viewer code to look for viewer
리턴 string