Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Yiannis Vavouranakis 38 posts 78 karma points
    Aug 29, 2013 @ 13:15
    Yiannis Vavouranakis
    0

    umbraco Node does not implement INode in 6.1.4?

    Hello all.

    Over the few months I've been dealing with umbraco (since 4.7), I've created a library with handy extension methods to refactor various operations that come up time and again (dictionary, getting the home node, getting the value of a property, checking if a property exists etc).

    Most of these methods work on umbraco.Interfaces.INode objects. Yet I just noticed that in 6.1.4 umbraco.NodeFactory.Node does NOT implement INode anymore (at least that's what the metadata explorer in visual studio tells me).

    Is this intentional? If so, I wonder why was it not mentioned as a breaking change...

  • Yiannis Vavouranakis 38 posts 78 karma points
    Aug 29, 2013 @ 13:58
    Yiannis Vavouranakis
    0

    Note to self:

    Don't rely on Visual Studio Meta data.

    I've just run the umbraco dll through a decompiler, and sure enough, the Node class implements the INode interface. I then closed and reopened the solution, and everything is right with the world again. VS was just being quirky again...

Please Sign in or register to post replies

Write your reply to:

Draft