Copied to clipboard

Flag this post as spam?

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

  • Flavio Spezi 128 posts 311 karma points
    Mar 26, 2016 @ 15:05
    Flavio Spezi

    New PropertyEditor: DotNet Class Picker

    I suggest to add a new PropertyEditor that allow web-editor to select a .NET Class that implement a specified interface, like as DotNet datatype already do with IDotNetDataSource.

    When user define a new DotNet Class Picker DataType, he can select a interface inside some Assembly.

    Then, when web-editor edit a document with this datatype, he can select one (or more?) Class that implement selected interface.

  • Hendy Racher 861 posts 3832 karma points MVP 2x admin c-trib
    Mar 31, 2016 @ 09:47
    Hendy Racher

    Hi Flavio,

    Thanks for the suggestion, can you give an example of how this could be used ?

  • Flavio Spezi 128 posts 311 karma points
    Mar 31, 2016 @ 10:10
    Flavio Spezi

    For example, I am developing a webProject that will download data from external resources, in JSON, XML, RSS formats.

    I will use a Content Node to configure any source of theese. The Node will have:

    • Resource URL: location of resource
    • Parser: Parser class that will download, normalize, then save data to local DB.

    A Parser class is a C# class that implement ISourceParser C# interface.


    For non-technical users, list of class would be converted to a "user-like" name, using an apporpiate Attribute:

    [nuPickers.DotNetClassPicker.ClassName("XML Format")]
    public class MyXmlParser : ISourceParser {
Please Sign in or register to post replies

Write your reply to: