SaaS CMS has officially launched! Learn more now.

Class PropertyValueUtil

Represents property value util.

Inheritance
System.Object
PropertyValueUtil
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.Data.Meta
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 11.8.3
Syntax
public static class PropertyValueUtil

Methods

ConvertToObject(MetaField, String)

Converts to object.

Declaration
public static object ConvertToObject(MetaField field, string strValue)
Parameters
Type Name Description
MetaField field

The field.

System.String strValue

The STR value.

Returns
Type Description
System.Object

ConvertToObject(String, String, String)

Converts to object.

Declaration
public static object ConvertToObject(string metaClass, string fieldName, string strValue)
Parameters
Type Name Description
System.String metaClass

The meta class.

System.String fieldName

Name of the field.

System.String strValue

The STR value.

Returns
Type Description
System.Object

ConvertToString(MetaField, Object)

Converts to string.

Declaration
public static string ConvertToString(MetaField field, object objValue)
Parameters
Type Name Description
MetaField field

The field.

System.Object objValue

The obj value.

Returns
Type Description
System.String

ConvertToString(String, String, Object)

Converts to string.

Declaration
public static string ConvertToString(string metaClass, string fieldName, object objValue)
Parameters
Type Name Description
System.String metaClass

The meta class.

System.String fieldName

Name of the field.

System.Object objValue

The obj value.

Returns
Type Description
System.String

GetClrType(MetaField)

Gets the name of the XML qualified.

Declaration
public static Type GetClrType(MetaField field)
Parameters
Type Name Description
MetaField field

The field.

Returns
Type Description
System.Type

GetClrType(String, String)

Gets the name of the XML qualified.

Declaration
public static Type GetClrType(string metaClass, string fieldName)
Parameters
Type Name Description
System.String metaClass

The meta class.

System.String fieldName

Name of the field.

Returns
Type Description
System.Type

GetXmlQualifiedName(MetaField)

Gets the name of the XML qualified.

Declaration
public static XmlQualifiedName GetXmlQualifiedName(MetaField field)
Parameters
Type Name Description
MetaField field

The field.

Returns
Type Description
System.Xml.XmlQualifiedName

GetXmlQualifiedName(String, String)

Gets the name of the XML qualified.

Declaration
public static XmlQualifiedName GetXmlQualifiedName(string metaClass, string fieldName)
Parameters
Type Name Description
System.String metaClass

The meta class.

System.String fieldName

Name of the field.

Returns
Type Description
System.Xml.XmlQualifiedName