Code Monkey home page Code Monkey logo

Comments (5)

mattbrailsford avatar mattbrailsford commented on August 25, 2024

I believe this would just result in an ambiguous reference as the runtime wouldn't know which method to use, hence why we have vorto prefixed versions.

from umbraco-vorto.

Korayem avatar Korayem commented on August 25, 2024

You can always add global reference to required DLL in Views/web.config to avail such library across all views 👍

from umbraco-vorto.

mattbrailsford avatar mattbrailsford commented on August 25, 2024

Thanks for the suggestions, but I think I'd prefer to leave it as is as I don't want to cause any confusion with people not knowing if vorto is being used or the default Umbraco GetValue methods. If this is something you want personally then you can always make your own convenience methods to wrap the GetVortoValue methods, however I think from a general perspective, it is much clearer using the explicit GetVortoValue method what the intention is and thus where to look if problems do arise.

from umbraco-vorto.

jbreuer avatar jbreuer commented on August 25, 2024

The reason this is requested is probably related to the Models Builder. See this for more info: modelsbuilder/ModelsBuilder.Original#72 (comment)

from umbraco-vorto.

mattbrailsford avatar mattbrailsford commented on August 25, 2024

I still don't think this would help though as Models Builder would be coded to use the Umbraco implementation so by having the same method name, it wouldn't automatically just use it, Models Builder would have to make an explicit attempt to use it.

from umbraco-vorto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.