Search Results for

    Show / Hide Table of Contents

    Class ResXDataNode

    Inheritance
    System.Object
    ResXDataNode
    Namespace: System.Resources.NetStandard
    Assembly: PnP.Framework.dll
    Syntax
    public sealed class ResXDataNode : ISerializable

    Constructors

    ResXDataNode(String, Object)

    Declaration
    public ResXDataNode(string name, object value)
    Parameters
    System.String name

    System.Object value

    ResXDataNode(String, Object, Func<Type, String>)

    Declaration
    public ResXDataNode(string name, object value, Func<Type, string> typeNameConverter)
    Parameters
    System.String name

    System.Object value

    Func<Type, System.String> typeNameConverter

    ResXDataNode(String, ResXFileRef)

    Declaration
    public ResXDataNode(string name, ResXFileRef fileRef)
    Parameters
    System.String name

    ResXFileRef fileRef

    ResXDataNode(String, ResXFileRef, Func<Type, String>)

    Declaration
    public ResXDataNode(string name, ResXFileRef fileRef, Func<Type, string> typeNameConverter)
    Parameters
    System.String name

    ResXFileRef fileRef

    Func<Type, System.String> typeNameConverter

    Properties

    Comment

    Declaration
    public string Comment { get; set; }
    Property Value
    System.String

    FileRef

    Declaration
    public ResXFileRef FileRef { get; }
    Property Value
    ResXFileRef

    Name

    Declaration
    public string Name { get; set; }
    Property Value
    System.String

    Methods

    GetNodePosition()

    Might return the position in the resx file of the current node, if known otherwise, will return Point(0,0) since point is a struct

    Declaration
    public Point GetNodePosition()
    Returns
    Point

    GetValue(AssemblyName[])

    Get the value contained in this datanode

    Declaration
    public object GetValue(AssemblyName[] names)
    Parameters
    AssemblyName[] names

    Returns
    System.Object

    GetValue(ITypeResolutionService)

    Get the value contained in this datanode

    Declaration
    public object GetValue(ITypeResolutionService typeResolver)
    Parameters
    ITypeResolutionService typeResolver

    Returns
    System.Object

    GetValueTypeName(AssemblyName[])

    Get the FQ type name for this datanode

    Declaration
    public string GetValueTypeName(AssemblyName[] names)
    Parameters
    AssemblyName[] names

    Returns
    System.String

    GetValueTypeName(ITypeResolutionService)

    Get the FQ type name for this datanode. We return typeof(object) for ResXNullRef

    Declaration
    public string GetValueTypeName(ITypeResolutionService typeResolver)
    Parameters
    ITypeResolutionService typeResolver

    Returns
    System.String

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer