[]
        
(Showing Draft Content)

C1.Framework.SR-1

SR<T> Class

Represents the basic functionality used to get string information from assembly resource.

Inheritance
SR<T>
Namespace: C1.Framework
Assembly: C1.Win.Input.8.dll
Syntax
public class SR<T>
Type Parameters
Name Description
T

The type to provide the assembly information.

Constructors

Name Description
SR()

Methods

Name Description
GetImage(string)

Returns the image.

GetImageByHighDpi(string)

If the dpi is larger than 150% and there is a bigger size image, this method will return the bigger image with scaled.

GetString(CultureInfo, string)

Returns the value of the resource localized for the specified culture with the specified name in the assembly indicated by the template type.

GetString(CultureInfo, string, params object[])

Returns the value of the resource localized for the specified culture with the specified name in the assembly indicated by the template type and returns the formated string that replaced the format specification in the String with the textual equivalent of the value of a corresponding Object instance in a specified array.

GetString(string)

Returns the value of the resource with the specified name in the assembly indicated by the template type.

GetString(string, params object[])

Returns the value of the resource with the specified name in the assembly indicated by the template type and returns the formated string that replaced the format specification in the String with the textual equivalent of the value of a corresponding Object instance in a specified array.