Пример #1
0
        public static RatingSource FromSkip(ActivitySkip source)
        {
            RatingSource cause = new RatingSource("Skip");

            cause.Converted = source;
            return(cause);
        }
Пример #2
0
        public override void PreviewSkip(ActivitySkip newSkip)
        {
            // link the skip to its suggestion
            DateTime suggestionCreationDate = newSkip.SuggestionCreationDate;

            foreach (ActivityDescriptor descriptor in newSkip.ActivityDescriptors)
            {
                ActivitySuggestion suggestion = this.SuggestionDatabase.GetSuggestion(descriptor, suggestionCreationDate);
                if (suggestion != null)
                {
                    suggestion.Skip = newSkip;
                }
            }
        }
        public void AddSkip(ActivitySkip newSkip)
        {
            WillingnessSummary willingness = WillingnessSummary.Skipped;

            this.AddValue(newSkip.SuggestionStartDate, willingness);
        }
Пример #4
0
        public override void PreviewSkip(ActivitySkip newSkip)
        {
            string text = this.textConverter.ConvertToString(newSkip);

            this.addText(text);
        }
Пример #5
0
 public virtual void PreviewSkip(ActivitySkip newSkip)
 {
 }
Пример #6
0
 public void AddSkip(ActivitySkip newSkip)
 {
     this.PreviewSkip(newSkip);
     this.engine.PutSkipInMemory(newSkip);
 }