public void Describe(Description description)
        {
            description.Title = "The described parent";
            description.Properties["Color"]     = "Orange";
            description.Properties["Direction"] = "North";
            description.Properties["Name"]      = "Max";

            description.AddChild("Child1 Something", new DescribedChild());
            description.AddChild("Child2 else", new DescribedChild());
            description.AddChild("Child3", new DescribedChild());
        }
示例#2
0
        public void Describe(Description description)
        {
            description.ShortDescription       = "Assembly:  " + _assembly.GetName().Name;
            description.Properties["Assembly"] = _assembly.GetName().FullName;

            description.AddChild("Inner", _inner.Value);
        }
示例#3
0
 public void Describe(Description description)
 {
     description.Title                      = "Stateful Saga Node";
     description.ShortDescription           = "Applies saga state loading and persistence within this chain";
     description.Properties["State Type"]   = StateType.FullName;
     description.Properties["Message Type"] = MessageType.FullName;
     description.AddChild("Repository", Repository);
 }
示例#4
0
        public void Describe(Description description)
        {
            description.Title            = "Job Type: " + typeof(T).GetFullName();
            description.ShortDescription = typeof(T).GetFullName();
            typeof(T).ForAttribute <DescriptionAttribute>(_ => {
                description.ShortDescription = _.Description;
            });

            if (Channel != null)
            {
                description.Properties["Channel"] = Channel.Name;
            }
            description.Properties["Maximum Time Before Rescheduling"] = MaximumTimeBeforeRescheduling.ToString();
            description.AddChild("Scheduler", Scheduler);
        }
示例#5
0
        public void Describe(Description description)
        {
            description.ShortDescription                                  = "Authentication Configuration for the Running Application";
            description.Properties[nameof(Enabled)]                       = Enabled.ToString();
            description.Properties[nameof(ExcludeDiagnostics)]            = ExcludeDiagnostics.ToString();
            description.Properties[nameof(ExpireInMinutes)]               = ExpireInMinutes.ToString();
            description.Properties[nameof(SlidingExpiration)]             = SlidingExpiration.ToString();
            description.Properties[nameof(MaximumNumberOfFailedAttempts)] = MaximumNumberOfFailedAttempts.ToString();
            description.Properties[nameof(MembershipEnabled)]             = MembershipEnabled.ToString();
            description.Properties[nameof(NeverExpires)]                  = NeverExpires.ToString();

            description.AddChild("Saml2", Saml2);

            description.AddList("Strategies", Strategies);
        }
示例#6
0
 public void Describe(Description description)
 {
     description.AddChild("If", Condition);
     description.AddChild("Then", Inner);
 }
示例#7
0
 public void Describe(Description description)
 {
     description.Title = "Chain Filter Added";
     description.AddChild("Filter", _filter);
 }
示例#8
0
 public void Describe(Description description)
 {
     description.Title            = Description.For(_view).Title;
     description.ShortDescription = null;
     description.AddChild("View", _view);
 }
示例#9
0
 void DescribesItself.Describe(Description description)
 {
     description.Title = "Adds Http content compression";
     description.AddChild("Filter", _filter);
 }
 public void Describe(Description description)
 {
     description.Title = "ActionSource";
     description.AddChild("Source", _source);
 }
示例#11
0
 public void Describe(Description description)
 {
     description.Title            = _package.Id;
     description.ShortDescription = _exception.Message;
     description.AddChild("Stacktrace", _exception.StackTrace);
 }