Show / Hide Table of Contents

Struct NamedType

Inherited Members
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Namespace: Unity.Resolution
Assembly: Unity.Abstractions.dll
Syntax
public struct NamedType

Fields

| Improve this Doc View Source

Name

Declaration
public string Name
Field Value
Type Description
String
| Improve this Doc View Source

Type

Declaration
public Type Type
Field Value
Type Description
Type

Methods

| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
ValueType.Equals(Object)
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
ValueType.GetHashCode()
| Improve this Doc View Source

GetHashCode(Int32, Int32)

Declaration
public static int GetHashCode(int typeHash, int nameHash)
Parameters
Type Name Description
Int32 typeHash
Int32 nameHash
Returns
Type Description
Int32
| Improve this Doc View Source

GetHashCode(Type, String)

Declaration
public static int GetHashCode(Type type, string name)
Parameters
Type Name Description
Type type
String name
Returns
Type Description
Int32
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
ValueType.ToString()

Operators

| Improve this Doc View Source

Equality(NamedType, NamedType)

Declaration
public static bool operator ==(NamedType obj1, NamedType obj2)
Parameters
Type Name Description
NamedType obj1
NamedType obj2
Returns
Type Description
Boolean
| Improve this Doc View Source

Inequality(NamedType, NamedType)

Declaration
public static bool operator !=(NamedType obj1, NamedType obj2)
Parameters
Type Name Description
NamedType obj1
NamedType obj2
Returns
Type Description
Boolean

Extension Methods

InjectionMatching.Matches(Object, Type)
InjectionMatching.MatchesObject(Object, Type)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2020 .NET Foundation and Contributors. All Rights Reserved