CodeFactory Platform CodeFactory Platform
CodeFactory Platform CodeFactory Platform
CodeFactory

Search Results for

    Class CsClassExtensions

    Extensions class that provides common automation tasks rolled up under standard extension methods that support the CsClass model.

    Inheritance
    object
    CsClassExtensions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: CodeFactory.DotNet.CSharp
    Assembly: CodeFactory.DotNet.dll
    Syntax
    public static class CsClassExtensions

    Methods

    | Improve this Doc View Source

    InheritsBaseClass(CsClass, string, string)

    Extension method that determines if a target class inherits a target base class.

    Declaration
    public static bool InheritsBaseClass(this CsClass source, string name, string nameSpace = null)
    Parameters
    Type Name Description
    CsClass source

    The source class to check for inheritance.

    string name

    The name of the inherited class

    string nameSpace

    Optional parameter for the namespace of the inherited class.

    Returns
    Type Description
    bool

    True if the class is inherited or false if not.

    © CodeFactory, LLC. All rights reserved.