} // Inherit public override void Inherit([CanBeNull] LicensedItem from) { if (from is LicensedLibrary library) { Inherit(library); } else { ProtectedInherit(from); } // if-else } // Inherit
} // Inherit public override void Inherit([CanBeNull] LicensedItem from) { if (from is LicensedInstaller installer) { Inherit(installer); } else { ProtectedInherit(from); } // if-else } // Override
} // Inherit public override void Inherit([CanBeNull] LicensedItem from) { if (from is LicensedProgram program) { Inherit(program); } else { ProtectedInherit(from); } // if-else } // Override
} // Inherit public override void Inherit([CanBeNull] LicensedItem from) { if (from is LicensedSolution solution) { Inherit(solution); } else { ProtectedInherit(from); } // if-else } // Inherit
public override void Inherit(LicensedItem from) => ProtectedInherit(from);