B9PartSwitch.TypeExtensions.DerivesFrom C# (CSharp) Метод

DerivesFrom() публичный статический Метод

public static DerivesFrom ( this self, Type other ) : bool
self this
other System.Type
Результат bool
        public static bool DerivesFrom(this Type self, Type other)
        {
            return other.IsAssignableFrom(self);
        }