private SuggestContextQueriesDescriptor <T> AddContextQueries(string name, List <ISuggestContextQuery> contextQueries)
        {
            if (contextQueries != null)
            {
                PromisedValue.Add(name, contextQueries);
            }

            return(this);
        }
Ejemplo n.º 2
0
 protected TDescriptor Assign(TKey key, TValue value)
 {
     PromisedValue.Add(key, value);
     return(Self);
 }
Ejemplo n.º 3
0
 private DetectionRulesDescriptor Add(IDetectionRule m)
 {
     PromisedValue.Add(m);
     return(this);
 }
		public EmailAttachmentsDescriptor DataAttachment(string name, Func<DataAttachmentDescriptor, IDataAttachment> selector)
		{
			PromisedValue.Add(name, selector?.Invoke(new DataAttachmentDescriptor()));
			return this;
		}
Ejemplo n.º 5
0
 public EmailAttachmentsDescriptor HttpAttachment(string name, Func <HttpAttachmentDescriptor, IHttpAttachment> selector)
 {
     PromisedValue.Add(name, selector?.Invoke(new HttpAttachmentDescriptor()));
     return(this);
 }