Skip to content

Commit

Permalink
Merge pull request #9 from HubiBoar/feature/souce-generation
Browse files Browse the repository at this point in the history
Readme update
  • Loading branch information
HubiBoar authored Jul 22, 2024
2 parents c953b09 + c7d9053 commit aa3cb36
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ The method can can be extended so it can be invoked by:

Those elements can be setup using two types of API:

## [FluentGenericBuilder](src/Samples/Samples.cs)
### [Samples](src/Samples/Samples.cs)

#### Endpoint
### Endpoint
```csharp
public sealed class ExampleHandler :
FeatureSlice<ExampleHandler, ExampleHandler.Request, ExampleHandler.Response>
Expand Down Expand Up @@ -45,7 +45,7 @@ public sealed class ExampleHandler :
}
```

#### CronJob
### CronJob
```csharp

public sealed class ExampleHandler :
Expand All @@ -70,7 +70,7 @@ public sealed class ExampleHandler :
}
```

#### Consumer
### Consumer
```csharp
public sealed class ExampleConsumer :
FeatureSlice<ExampleConsumer, ExampleConsumer.Request>
Expand All @@ -91,7 +91,7 @@ public sealed class ExampleConsumer :
}
```

#### Combination of all of those
### Combination of all of those
```csharp

public sealed class ExampleConsumer :
Expand Down Expand Up @@ -127,7 +127,7 @@ public sealed class ExampleConsumer :
}
```

#### Handlers and Consumers Expose Dispatch methods which allow them to be called from dependencies
### FeatureSlices Expose Dispatch methods which allow them to be called from dependencies
```csharp
public static void Use
(
Expand All @@ -140,7 +140,7 @@ public static void Use
}
```

#### Handlers and Consumers Expose Register for DI registration
### FeatureSlices Expose Register for DI registration
```csharp
public static void Register(IServiceCollection services)
{
Expand Down

0 comments on commit aa3cb36

Please sign in to comment.