locked
Description Property for Activity RRS feed

  • Question

  • Hello,

    actually I use the Property "Description" for descriping the class or input and output variables. It looks like that:

        [Description("Diese Klasse ermöglicht es, eine CSV-Datei einzulesen.")]
        [BuildActivity(HostEnvironmentOption.Agent)]
        public sealed class CSVReader : CodeActivity
        {
            #region -------------------- InputProperties --------------------
            [RequiredArgument]
            [Description("Der Dateipfad der zur Datei führt, die eingelesen werden soll.")]
            public InArgument<System.String> File { get; set; }
    
    //...
    //...
    //...
    //...
            protected override void Execute(CodeActivityContext context){
                   //...
            }
      }

    Give it a Way to use that Property in a XAML-File for a Activity too? Maybe just with a XML-declaration?

    Thank you so much.

    Monday, August 11, 2014 7:09 AM

Answers

  • Hi,

    You can try using <x:property>. For more information, you can refer to the document:

    http://blogs.msdn.com/b/tilovell/archive/2011/02/19/secrets-of-the-xaml-build-task.aspx

    But I think "description" property can only be used in code


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Tuesday, August 12, 2014 7:10 AM