Click or drag to resize
ProjectHelper Class
Class provides helper methods used during installation and import/export process.
Inheritance Hierarchy
SystemObject
  CMS.HelpersProjectHelper

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public class ProjectHelper

The ProjectHelper type exposes the following members.

Constructors
  NameDescription
Public methodProjectHelper
Top
Methods
  NameDescription
Public methodStatic memberChangeCodeBehindToCodeFile
Changes attribute "CodeBehind" to "CodeFile" in input file and saves changes to output file.
Public methodStatic memberChangeCodeBehindToCodeFileForFolder
Loop through directories structure (recursively) and replace "codebehind" attribute to "codefile".
Public methodStatic memberChangeCodeFileToCodeBehind
Changes attribute "CodeFile" to "CodeBehind" in input file and saves changes to output file.
Public methodStatic memberReplaceMarkupAttr
Changes first occurrence of string to new value in text file.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also