Show / Hide Table of Contents

Class ResourceNaming

Provides names for resource artifacts.

Inheritance
System.Object
ResourceNaming
Namespace: Reaqtor
Assembly: Reaqtor.Local.Model.dll
Syntax
public static class ResourceNaming : Object

Methods

GetThisReferenceExpression(Object)

Gets a typed "this" reference expression representation to the specified object.

Declaration
public static Expression GetThisReferenceExpression(object value)
Parameters
Type Name Description
System.Object value

Object to get a typed "this" reference for.

Returns
Type Description
System.Linq.Expressions.Expression

Typed "this" reference expression representation.

GetThisReferenceExpression(Type)

Gets a typed "this" reference expression representation to an object of the specified type.

Declaration
public static Expression GetThisReferenceExpression(Type type)
Parameters
Type Name Description
System.Type type

The type of the object.

Returns
Type Description
System.Linq.Expressions.Expression

Typed "this" reference expression representation.

IsThisReferenceExpression(Type, ParameterExpression)

Checks if the given parameter expression is a "this" reference expression representation to an object of the specified type.

Declaration
public static bool IsThisReferenceExpression(Type type, ParameterExpression parameter)
Parameters
Type Name Description
System.Type type

The type of the object.

System.Linq.Expressions.ParameterExpression parameter

The parameter expression to check.

Returns
Type Description
System.Boolean

True if this is a "this" reference expression or false otherwise.

In This Article
Back to top Generated by DocFX