Class InfoHelper
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
General info methods and properties
public class InfoHelper
- Inheritance
-
objectInfoHelper
- Extension Methods
Fields
CODENAME_AUTOMATIC
Constant for automatic code name
public static string CODENAME_AUTOMATIC
Field Value
- string
UNKNOWN_TYPEINFO
Type information.
public static ObjectTypeInfo UNKNOWN_TYPEINFO
Field Value
Properties
EmptyInfo
Empty info object. Can be used instead of null in BaseInfo variables to mark the loaded value as not found to prevent additional calls.
public static BaseInfo EmptyInfo { get; }
Property Value
Methods
EnsureInfo(ref BaseInfo, Func<BaseInfo>)
Ensures that the info variable is loaded with the given info. Caches the null value as BaseInfo.Empty info if the value wasn't provided, and returns null in that case.
public static BaseInfo EnsureInfo(ref BaseInfo variable, Func<BaseInfo> getMethod)