Show / Hide Table of Contents

Class PropertyExtensions

Various extension methods for property reflection.

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

Methods

View Source

get_IsExternalInit(PropertyInfo)

Checks whether the initialization of the property is allowed during object construction.

Declaration
public static bool get_IsExternalInit(PropertyInfo property)
Parameters
Type Name Description
PropertyInfo property
Returns
Type Description
bool

true if the property has init accessor; otherwise, false.

See Also
init (C# Reference)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾