Example #1
0
        /// <summary>
        /// Constructor.
        /// </summary>
        /// <param name="name">
        /// Optionally specifies the activity type name used to
        /// register an activity implementation with Temporal.
        /// </param>
        public ActivityAttribute(string name = null)
        {
            TemporalHelper.ValidateActivityTypeName(name);

            this.Name = name;
        }