Show / Hide Table of Contents

Class ResourceManagerExtensions

Represents extension methods for ResourceManager class.

Inheritance
object
ResourceManagerExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DotNext.Resources
Assembly: DotNext.dll
Syntax
public static class ResourceManagerExtensions

Methods

| Edit this page View Source

Get(ResourceManager, string)

Gets typed resource using name of the caller member.

Declaration
public static ResourceEntry Get(this ResourceManager manager, string name = "")
Parameters
Type Name Description
ResourceManager manager

The resource manager.

string name

The name that is filled by compiler automatically.

Returns
Type Description
ResourceEntry

The resource entry.

Exceptions
Type Condition
ArgumentNullException

manager or name is null.

  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾