Class ObjectHelper
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Object manipulation methods.
public class ObjectHelper : CoreMethods
- Inheritance
-
objectObjectHelper
- Inherited Members
- Extension Methods
Constructors
ObjectHelper()
public ObjectHelper()
Methods
BuildFullName(string, string, string)
Builds the full name from the given names.
public static string BuildFullName(string first, string second, string separator = ".")
Parameters
firststringFirst name
secondstringSecond name
separatorstringSeparator
Returns
- string
ParseFullName(string, out string, out string, string)
Parses the full name in format "something.whatewer.abc" so that "something.whatever" is considered the first part, and "abc" second part.
public static bool ParseFullName(string fullName, out string firstPart, out string secondPart, string delimiter = ".")
Parameters
fullNamestringGiven full name
firstPartstringFirst part
secondPartstringSecond part
delimiterstringFullname delimiter
Returns
- bool