Class GlobalResource

Inheritance
System.Object
GlobalResource
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.Business
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 10.8.0
Syntax
public static class GlobalResource

Methods

GetString(String)

Gets the resource string.

Declaration
public static string GetString(string template)
Parameters
Type Name Description
System.String template

The template.

Returns
Type Description
System.String

The string from global resources if template is "{classKey:resourceKey}", otherwise template.

GetString(String, CultureInfo)

Gets the resource string.

Declaration
public static string GetString(string template, CultureInfo culture)
Parameters
Type Name Description
System.String template

The template.

System.Globalization.CultureInfo culture

The culture.

Returns
Type Description
System.String

The string from global resources if template is "{classKey:resourceKey}", otherwise template.