Skip to content

Commit

Permalink
#27: Changed order of types and methods in generated api description
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinCelej committed Dec 21, 2023
1 parent 74bc505 commit 3fcce90
Show file tree
Hide file tree
Showing 5 changed files with 504 additions and 479 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
# Synergy.Architecture.Diagrams

## Documentation.TechnicalBlueprint (class)
- ctor()
- Add(
diagrams: IEnumerable<SequenceDiagram>
) : TechnicalBlueprint
- Add(
diagrams: params SequenceDiagram[] [ParamArray]
) : TechnicalBlueprint
- Intro(
markdown: string
) : TechnicalBlueprint
- Register(
interface: Type,
implementation: Type
) : TechnicalBlueprint
- Register(
interface: Type,
services: IServiceProvider
) : TechnicalBlueprint
- Register<TComponent, TImplementation>() : TechnicalBlueprint
- Render() : string
- TechnicalBlueprint.Titled(
title: string
) : TechnicalBlueprint
- ToString() : string

## Documentation.TechnicalBlueprint+DiagramComponents (class)
- ctor()
- Register(
interface: Type,
implementation: Type
) : void
- Register<TComponent, TImplementation>() : void [NullableContext]
- Resolve(
origin: Type
) : Type

## Sequence.SequenceDiagram (record) : IEquatable<SequenceDiagram>
- Actor: SequenceDiagramActor [Nullable] { get; set; }
- Components: TechnicalBlueprint+DiagramComponents? { get; set; }
Expand All @@ -15,32 +52,32 @@
Components: TechnicalBlueprint+DiagramComponents? [Optional],
TitleText: string? [Optional]
)
- Calling<T>(
- Calling(
method: MethodInfo
) : SequenceDiagram [NullableContext]
- Calling(
type: Type,
methodName: string,
arguments: params Type[] [ParamArray]
) : SequenceDiagram [NullableContext]
- Calling<T>(
call: Expression<Action<T>>
) : SequenceDiagram [NullableContext]
- Calling(
type: Type,
- Calling<T>(
methodName: string,
arguments: params Type[] [ParamArray]
) : SequenceDiagram [NullableContext]
- Calling(
method: MethodInfo
) : SequenceDiagram [NullableContext]
- CutOff(
types: params Type[] [ParamArray]
) : SequenceDiagram [NullableContext]
- Footer(
footer: string
) : SequenceDiagram [NullableContext]
- SequenceDiagram.From<T>() : SequenceDiagram [NullableContext]
- Render() : string [NullableContext]
- SequenceDiagram.From(
actor: SequenceDiagramActor
) : SequenceDiagram [NullableContext]
- Render() : string [NullableContext]
- SequenceDiagram.From<T>() : SequenceDiagram [NullableContext]
- Title(
title: string
) : SequenceDiagram [NullableContext]
Expand Down Expand Up @@ -73,40 +110,3 @@
- GenerateDiagramContent() : StringBuilder
- GenerateDiagramUrl() : string

## Documentation.TechnicalBlueprint (class)
- ctor()
- Add(
diagrams: params SequenceDiagram[] [ParamArray]
) : TechnicalBlueprint
- Add(
diagrams: IEnumerable<SequenceDiagram>
) : TechnicalBlueprint
- Intro(
markdown: string
) : TechnicalBlueprint
- Register<TComponent, TImplementation>() : TechnicalBlueprint
- Register(
interface: Type,
services: IServiceProvider
) : TechnicalBlueprint
- Register(
interface: Type,
implementation: Type
) : TechnicalBlueprint
- Render() : string
- TechnicalBlueprint.Titled(
title: string
) : TechnicalBlueprint
- ToString() : string

## Documentation.TechnicalBlueprint+DiagramComponents (class)
- ctor()
- Register<TComponent, TImplementation>() : void [NullableContext]
- Register(
interface: Type,
implementation: Type
) : void
- Resolve(
origin: Type
) : Type

Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,30 @@
value: object [CanBeNull, NoEnumeration],
name: string [CanBeNull, Optional]
) : T? [Extension, CanBeNull, AssertionMethod, ContractAnnotation]
- Fail.Because(
message: Violation
) : DesignByContractViolationException [NotNull, Pure]
- Fail.Because(
message: string [NotNull, NotNull]
) : DesignByContractViolationException [NotNull, Pure, StringFormatMethod]
- Fail.Because<T1>(
message: string [NotNull, NotNull],
arg1: T1?
) : DesignByContractViolationException [NotNull, Pure, StringFormatMethod]
- Fail.Because<T1, T2>(
- Fail.Because(
message: string [NotNull, NotNull],
arg1: T1?,
arg2: T2?
args: params Object[] [ParamArray, NotNull, NotNull]
) : DesignByContractViolationException [NotNull, Pure, StringFormatMethod]
- Fail.Because(
message: Violation
) : DesignByContractViolationException [NotNull, Pure]
- Fail.Because<T1, T2, T3>(
message: string [NotNull, NotNull],
arg1: T1?,
arg2: T2?,
arg3: T3?
) : DesignByContractViolationException [NotNull, Pure, StringFormatMethod]
- Fail.Because(
- Fail.Because<T1, T2>(
message: string [NotNull, NotNull],
args: params Object[] [ParamArray, NotNull, NotNull]
arg1: T1?,
arg2: T2?
) : DesignByContractViolationException [NotNull, Pure, StringFormatMethod]
- Fail.Because<T1>(
message: string [NotNull, NotNull],
arg1: T1?
) : DesignByContractViolationException [NotNull, Pure, StringFormatMethod]
- Fail.BecauseEnumOutOfRange<T>(
value: T
Expand All @@ -58,30 +58,30 @@
value: Enum [NotNull, NotNull],
name: string [NotNull, NotNull]
) : T? [Extension, NotNull]
- Fail.FailIfNotDate(
date: DateTime? [CanBeNull],
name: string
) : DateTime?? [Extension, CanBeNull, AssertionMethod]
- Fail.FailIfNotDate(
date: DateTime,
name: string
) : DateTime [Extension, AssertionMethod]
- Fail.FailIfNotDate(
date: DateTime? [CanBeNull],
name: string
) : DateTime? [Extension, CanBeNull, AssertionMethod]
- Fail.FailIfNull<T>(
value: T? [CanBeNull, AssertionCondition, NoEnumeration],
name: string [NotNull, NotNull]
message: Violation
) : T? [Extension, NotNull, AssertionMethod, ContractAnnotation]
- Fail.FailIfNull<T>(
value: T? [CanBeNull, AssertionCondition, NoEnumeration],
message: Violation
name: string [NotNull, NotNull]
) : T? [Extension, NotNull, AssertionMethod, ContractAnnotation]
- Fail.IfArgumentEmpty(
value: Guid,
argumentName: string [NotNull]
) : void [AssertionMethod]
- Fail.IfArgumentEmpty(
argumentValue: string [CanBeNull, AssertionCondition],
argumentName: string [NotNull, NotNull]
) : void [AssertionMethod, ContractAnnotation]
- Fail.IfArgumentEmpty(
value: Guid,
argumentName: string [NotNull]
) : void [AssertionMethod]
- Fail.IfArgumentEqual<TExpected, TActual>(
unexpected: TExpected? [CanBeNull],
argumentValue: TActual? [CanBeNull],
Expand Down Expand Up @@ -127,11 +127,11 @@
) : void [AssertionMethod]
- Fail.IfEmpty(
value: string [CanBeNull, AssertionCondition],
name: string [NotNull, NotNull]
message: Violation
) : void [AssertionMethod, ContractAnnotation]
- Fail.IfEmpty(
value: string [CanBeNull, AssertionCondition],
message: Violation
name: string [NotNull, NotNull]
) : void [AssertionMethod, ContractAnnotation]
- Fail.IfEnumNotDefined<T>(
value: object [NotNull, NotNull]
Expand All @@ -142,12 +142,12 @@
- Fail.IfEqual<TExpected, TActual>(
unexpected: TExpected? [CanBeNull],
actual: TActual? [CanBeNull],
name: string [NotNull, NotNull]
message: Violation
) : void [AssertionMethod]
- Fail.IfEqual<TExpected, TActual>(
unexpected: TExpected? [CanBeNull],
actual: TActual? [CanBeNull],
message: Violation
name: string [NotNull, NotNull]
) : void [AssertionMethod]
- Fail.IfFalse(
value: bool [AssertionCondition],
Expand All @@ -164,37 +164,37 @@
) : void [AssertionMethod]
- Fail.IfNotDate(
date: DateTime? [CanBeNull],
name: string
message: Violation
) : void [AssertionMethod]
- Fail.IfNotDate(
date: DateTime? [CanBeNull],
message: Violation
name: string
) : void [AssertionMethod]
- Fail.IfNotEqual<TExpected, TActual>(
expected: TExpected? [CanBeNull],
actual: TActual? [CanBeNull],
name: string [NotNull, NotNull]
message: Violation
) : void [AssertionMethod]
- Fail.IfNotEqual<TExpected, TActual>(
expected: TExpected? [CanBeNull],
actual: TActual? [CanBeNull],
message: Violation
name: string [NotNull, NotNull]
) : void [AssertionMethod]
- Fail.IfNotNull<T>(
value: T? [CanBeNull, NoEnumeration],
name: string [NotNull, NotNull]
message: Violation
) : void [AssertionMethod, ContractAnnotation]
- Fail.IfNotNull<T>(
value: T? [CanBeNull, NoEnumeration],
message: Violation
name: string [NotNull, NotNull]
) : void [AssertionMethod, ContractAnnotation]
- Fail.IfNull<T>(
value: T? [CanBeNull, AssertionCondition],
name: string [NotNull, NotNull]
message: Violation
) : void [AssertionMethod, ContractAnnotation]
- Fail.IfNull<T>(
value: T? [CanBeNull, AssertionCondition],
message: Violation
name: string [NotNull, NotNull]
) : void [AssertionMethod, ContractAnnotation]
- Fail.IfNullOrNotCastable<T>(
value: object [CanBeNull, NoEnumeration]
Expand All @@ -219,11 +219,11 @@
) : void [AssertionMethod, ContractAnnotation]
- Fail.IfWhitespace(
value: string [CanBeNull, AssertionCondition],
name: string [NotNull, NotNull]
message: Violation
) : void [AssertionMethod, ContractAnnotation]
- Fail.IfWhitespace(
value: string [CanBeNull, AssertionCondition],
message: Violation
name: string [NotNull, NotNull]
) : void [AssertionMethod, ContractAnnotation]
- Fail.NotNull<T>(
value: T? [CanBeNull, AssertionCondition, NoEnumeration],
Expand Down Expand Up @@ -255,16 +255,6 @@
name: string [NotNull, NotNull, CallerArgumentExpression, Optional]
) : string [Extension, NotNull, AssertionMethod, ContractAnnotation]

## Violation (struct)
- ctor(
message: string [NotNull, NotNull],
args: params Object[] [ParamArray, NotNull, NotNull]
)
- Violation.Of(
message: string [NotNull, NotNull],
args: params Object[] [ParamArray, NotNull, NotNull]
) : Violation [StringFormatMethod]

## Requirements.Business (abstract class)
- Business.Requires(
condition: bool
Expand All @@ -277,12 +267,8 @@
expression: string? [CallerArgumentExpression, Optional]
) : Business+Precondition [NullableContext, MustUseReturnValue]

## Requirements.BusinessRuleViolationException (exception) : Exception, ISerializable
- Requirement: Business+Requirement { get; }
- ctor(
message: string,
requirement: Business+Requirement
)
## Requirements.Business+IPrecondition (interface)
- Met: bool { get; }

## Requirements.Business+Precondition (struct) : Business+IPrecondition
- Comment: string [CanBeNull] { get; }
Expand All @@ -303,8 +289,20 @@
condition: Func<bool>
) : Business+Requirement [MustUseReturnValue]

## Requirements.Business+IPrecondition (interface)
- Met: bool { get; }
## Requirements.Business+Principle (struct)
- Description: string { get; }
- ctor(
description: string
)
- Requires(
condition: bool
) : Business+Requirement [MustUseReturnValue]
- Throws(
exception: Exception
) : void
- When(
preCondition: bool
) : Business+Precondition [MustUseReturnValue]

## Requirements.Business+Requirement (struct)
- Comment: string [CanBeNull] { get; }
Expand All @@ -323,24 +321,26 @@
comment: string [CanBeNull, Optional]
)
- Throws(
message: string
exception: Exception
) : void
- Throws(
exception: Exception
message: string
) : void

## Requirements.Business+Principle (struct)
- Description: string { get; }
## Requirements.BusinessRuleViolationException (exception) : Exception, ISerializable
- Requirement: Business+Requirement { get; }
- ctor(
description: string
message: string,
requirement: Business+Requirement
)
- Requires(
condition: bool
) : Business+Requirement [MustUseReturnValue]
- Throws(
exception: Exception
) : void
- When(
preCondition: bool
) : Business+Precondition [MustUseReturnValue]

## Violation (struct)
- ctor(
message: string [NotNull, NotNull],
args: params Object[] [ParamArray, NotNull, NotNull]
)
- Violation.Of(
message: string [NotNull, NotNull],
args: params Object[] [ParamArray, NotNull, NotNull]
) : Violation [StringFormatMethod]

Loading

0 comments on commit 3fcce90

Please sign in to comment.