Click or drag to resize
TypeExtensions Class
Class TypeExtensions.
Inheritance Hierarchy
SystemObject
  Akka.UtilTypeExtensions

Namespace: Akka.Util
Assembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntax
public static class TypeExtensions
Methods
  NameDescription
Public methodStatic memberCode exampleImplements(Type, Type)
Returns true if type implements/inherits moreGeneralType.
Examples

typeof(object[]).Implements(typeof(IEnumerable)) --> true

Public methodStatic memberCode exampleImplementsT(Type)
Returns true if type implements/inherits T.
Examples

typeof(object[]).Implements<IEnumerable>() --> true

Top
See Also