Skip to content

Class BuiltInPatterns

Namespace: Cephalon.Engine.Patterns
Assembly: Cephalon.Engine.dll

Provides the built-in pattern descriptors used by Cephalon app profiles.

public static class BuiltInPatterns

objectBuiltInPatterns

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Gets all built-in pattern descriptors.

public static IReadOnlyList<PatternDescriptor> All { get; }

IReadOnlyList<PatternDescriptor>

Gets the anti-corruption-layer pattern.

public static PatternDescriptor AntiCorruptionLayer { get; }

PatternDescriptor

Gets the backend-for-frontend pattern.

public static PatternDescriptor BackendForFrontendPattern { get; }

PatternDescriptor

Gets the clean-architecture pattern.

public static PatternDescriptor CleanArchitecture { get; }

PatternDescriptor

Gets the CQRS pattern.

public static PatternDescriptor CqrsPattern { get; }

PatternDescriptor

Gets the domain-driven-design pattern.

public static PatternDescriptor DomainDrivenDesign { get; }

PatternDescriptor

Gets the event-sourcing pattern.

public static PatternDescriptor EventSourcingPattern { get; }

PatternDescriptor

Gets the hexagonal-architecture pattern.

public static PatternDescriptor HexagonalArchitecture { get; }

PatternDescriptor

Gets the layered-architecture pattern.

public static PatternDescriptor LayeredArchitecture { get; }

PatternDescriptor

Gets the mediator design pattern.

public static PatternDescriptor MediatorPattern { get; }

PatternDescriptor

Gets the microservice deployment topology pattern.

public static PatternDescriptor MicroserviceTopology { get; }

PatternDescriptor

Gets the modular-architecture composition pattern.

public static PatternDescriptor ModularArchitecture { get; }

PatternDescriptor

Gets the module-first organization pattern.

public static PatternDescriptor ModuleFirstOrganization { get; }

PatternDescriptor

Gets the onion-architecture pattern.

public static PatternDescriptor OnionArchitecture { get; }

PatternDescriptor

Gets the outbox pattern.

public static PatternDescriptor OutboxPattern { get; }

PatternDescriptor

Gets the pipeline design pattern.

public static PatternDescriptor PipelinePattern { get; }

PatternDescriptor

Gets the shared-foundation pattern.

public static PatternDescriptor SharedFoundationPattern { get; }

PatternDescriptor

Gets the single-host deployment topology pattern.

public static PatternDescriptor SingleHostTopology { get; }

PatternDescriptor

Gets the specification design pattern.

public static PatternDescriptor SpecificationPattern { get; }

PatternDescriptor

Gets the strangler-fig migration pattern.

public static PatternDescriptor StranglerFigPattern { get; }

PatternDescriptor

Gets the strategy design pattern.

public static PatternDescriptor StrategyPattern { get; }

PatternDescriptor

Gets the vertical-slice organization pattern.

public static PatternDescriptor VerticalSliceOrganization { get; }

PatternDescriptor

Resolves a pattern identifier, display name, or alias.

public static PatternDescriptor Resolve(string value)

value string

The pattern identifier, display name, or alias to resolve.

PatternDescriptor

The resolved pattern descriptor.

TryResolve(string, out PatternDescriptor)

Section titled “ TryResolve(string, out PatternDescriptor)”

Attempts to resolve a pattern identifier, display name, or alias.

public static bool TryResolve(string value, out PatternDescriptor pattern)

value string

The pattern identifier, display name, or alias to resolve.

pattern PatternDescriptor

The resolved pattern descriptor when the lookup succeeds.

bool

true when the pattern was resolved; otherwise, false.