Skip to content

Commit

Permalink
removing unnecessary md files - 8
Browse files Browse the repository at this point in the history
  • Loading branch information
samaysar committed Jul 22, 2024
1 parent b561bf1 commit 10b630e
Show file tree
Hide file tree
Showing 43 changed files with 37,104 additions and 0 deletions.
94 changes: 94 additions & 0 deletions docs/net6.0/DevFast.Net.Extensions.Etc.Asynchro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
#### [DevFast.Net.Extensions](index.md 'index')
### [DevFast.Net.Extensions.Etc](DevFast.Net.Extensions.Etc.md 'DevFast.Net.Extensions.Etc')

## Asynchro Class

Extension methods on the [System.Threading.Tasks.Task](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task 'System.Threading.Tasks.Task'), [System.Threading.Tasks.ValueTask](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.ValueTask 'System.Threading.Tasks.ValueTask').

```csharp
public static class Asynchro
```
- *Properties*
- **[CompletedTask](DevFast.Net.Extensions.Etc.Asynchro.md#DevFast.Net.Extensions.Etc.Asynchro.CompletedTask 'DevFast.Net.Extensions.Etc.Asynchro.CompletedTask')**
- *Methods*
- **[FromResult&lt;TResult&gt;(TResult)](DevFast.Net.Extensions.Etc.Asynchro.md#DevFast.Net.Extensions.Etc.Asynchro.FromResult_TResult_(TResult) 'DevFast.Net.Extensions.Etc.Asynchro.FromResult<TResult>(TResult)')**
- **[Run&lt;T&gt;(this T)](DevFast.Net.Extensions.Etc.Asynchro.md#DevFast.Net.Extensions.Etc.Asynchro.Run_T_(thisT) 'DevFast.Net.Extensions.Etc.Asynchro.Run<T>(this T)')**

## Asynchro Class

Extension methods on the [System.Threading.Tasks.Task](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task 'System.Threading.Tasks.Task'), [System.Threading.Tasks.ValueTask](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.ValueTask 'System.Threading.Tasks.ValueTask').
```csharp
public static class Asynchro
```

Inheritance [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object') &#129106; Asynchro
### Properties

<a name='DevFast.Net.Extensions.Etc.Asynchro.CompletedTask'></a>

## Asynchro.CompletedTask Property

Gets a task that has already completed successfully.

```csharp
public static System.Threading.Tasks.ValueTask CompletedTask { get; }
```

#### Property Value
[System.Threading.Tasks.ValueTask](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.ValueTask 'System.Threading.Tasks.ValueTask')
### Methods

<a name='DevFast.Net.Extensions.Etc.Asynchro.FromResult_TResult_(TResult)'></a>

## Asynchro.FromResult<TResult>(TResult) Method

Creates a [System.Threading.Tasks.ValueTask&lt;&gt;](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.ValueTask-1 'System.Threading.Tasks.ValueTask`1') that's completed successfully with the specified result.
```csharp
public static System.Threading.Tasks.ValueTask<TResult> FromResult<TResult>(TResult result);
```
#### Type parameters

<a name='DevFast.Net.Extensions.Etc.Asynchro.FromResult_TResult_(TResult).TResult'></a>

`TResult`

The type of the result returned by the task.
#### Parameters

<a name='DevFast.Net.Extensions.Etc.Asynchro.FromResult_TResult_(TResult).result'></a>

`result` [TResult](DevFast.Net.Extensions.Etc.Asynchro.md#DevFast.Net.Extensions.Etc.Asynchro.FromResult_TResult_(TResult).TResult 'DevFast.Net.Extensions.Etc.Asynchro.FromResult<TResult>(TResult).TResult')

The result to store into the completed task.

#### Returns
[System.Threading.Tasks.ValueTask&lt;](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.ValueTask-1 'System.Threading.Tasks.ValueTask`1')[TResult](DevFast.Net.Extensions.Etc.Asynchro.md#DevFast.Net.Extensions.Etc.Asynchro.FromResult_TResult_(TResult).TResult 'DevFast.Net.Extensions.Etc.Asynchro.FromResult<TResult>(TResult).TResult')[&gt;](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.ValueTask-1 'System.Threading.Tasks.ValueTask`1')
The successfully completed task.

<a name='DevFast.Net.Extensions.Etc.Asynchro.Run_T_(thisT)'></a>

## Asynchro.Run<T>(this T) Method

Starts the given task if not already started. Returns it back after starting for chaining or awaiting.

```csharp
public static T Run<T>(this T task)
where T : System.Threading.Tasks.Task;
```
#### Type parameters

<a name='DevFast.Net.Extensions.Etc.Asynchro.Run_T_(thisT).T'></a>

`T`
#### Parameters

<a name='DevFast.Net.Extensions.Etc.Asynchro.Run_T_(thisT).task'></a>

`task` [T](DevFast.Net.Extensions.Etc.Asynchro.md#DevFast.Net.Extensions.Etc.Asynchro.Run_T_(thisT).T 'DevFast.Net.Extensions.Etc.Asynchro.Run<T>(this T).T')

Task to start

#### Returns
[T](DevFast.Net.Extensions.Etc.Asynchro.md#DevFast.Net.Extensions.Etc.Asynchro.Run_T_(thisT).T 'DevFast.Net.Extensions.Etc.Asynchro.Run<T>(this T).T')
358 changes: 358 additions & 0 deletions docs/net6.0/DevFast.Net.Extensions.Etc.Errors.md

Large diffs are not rendered by default.

2,205 changes: 2,205 additions & 0 deletions docs/net6.0/DevFast.Net.Extensions.Etc.Lambdas.md

Large diffs are not rendered by default.

3,878 changes: 3,878 additions & 0 deletions docs/net6.0/DevFast.Net.Extensions.Etc.PipeLine.md

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions docs/net6.0/DevFast.Net.Extensions.Etc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#### [DevFast.Net.Extensions](index.md 'index')

## DevFast.Net.Extensions.Etc Namespace

Under this [namespace](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/namespace 'https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/namespace') we have collected several extension methods on disparate types (for e.g. [System.Threading.Tasks.Task](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task 'System.Threading.Tasks.Task'), [System.Func&lt;&gt;](https://docs.microsoft.com/en-us/dotnet/api/System.Func-1 'System.Func`1'), etc... ).

| Classes | |
| :--- | :--- |
| [Asynchro](DevFast.Net.Extensions.Etc.Asynchro.md 'DevFast.Net.Extensions.Etc.Asynchro') | Extension methods on the [System.Threading.Tasks.Task](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task 'System.Threading.Tasks.Task'), [System.Threading.Tasks.ValueTask](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.ValueTask 'System.Threading.Tasks.ValueTask'). |
| [Errors](DevFast.Net.Extensions.Etc.Errors.md 'DevFast.Net.Extensions.Etc.Errors') | Extension methods to throw or consume various kind of exceptions. |
| [Lambdas](DevFast.Net.Extensions.Etc.Lambdas.md 'DevFast.Net.Extensions.Etc.Lambdas') | Extension methods to execute lambdas. |
| [PipeLine](DevFast.Net.Extensions.Etc.PipeLine.md 'DevFast.Net.Extensions.Etc.PipeLine') | Extension methods on Lambdas to create a executable Pipeline. |
Loading

0 comments on commit 10b630e

Please sign in to comment.