Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cuhsat committed Jun 4, 2022
1 parent 45ec41b commit ae3fd1f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions docs/api/Caliban.Nano.Contracts.IModel.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ bool HasChanged { get; }
(Awaitable) Loads the model and resets changed state.

```csharp
System.Threading.Tasks.Task Load();
System.Threading.Tasks.Task<bool> Load();
```

#### Returns
[System.Threading.Tasks.Task](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task 'System.Threading.Tasks.Task')
An asynchronous task.
[System.Threading.Tasks.Task&lt;](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task-1 'System.Threading.Tasks.Task`1')[System.Boolean](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean 'System.Boolean')[&gt;](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task-1 'System.Threading.Tasks.Task`1')
True if loading was successful; otherwise false.

<a name='Caliban.Nano.Contracts.IModel.Save()'></a>

Expand All @@ -51,9 +51,9 @@ An asynchronous task.
(Awaitable) Saves the model and resets changed state.

```csharp
System.Threading.Tasks.Task Save();
System.Threading.Tasks.Task<bool> Save();
```

#### Returns
[System.Threading.Tasks.Task](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task 'System.Threading.Tasks.Task')
An asynchronous task.
[System.Threading.Tasks.Task&lt;](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task-1 'System.Threading.Tasks.Task`1')[System.Boolean](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean 'System.Boolean')[&gt;](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task-1 'System.Threading.Tasks.Task`1')
True if saving was successful; otherwise false.
12 changes: 6 additions & 6 deletions docs/api/Caliban.Nano.Data.Model.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ The model value.
(Awaitable) Loads the model and resets changed state.

```csharp
public virtual System.Threading.Tasks.Task Load();
public virtual System.Threading.Tasks.Task<bool> Load();
```

Implements [Load()](Caliban.Nano.Contracts.IModel.md#Caliban.Nano.Contracts.IModel.Load() 'Caliban.Nano.Contracts.IModel.Load()')

#### Returns
[System.Threading.Tasks.Task](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task 'System.Threading.Tasks.Task')
An asynchronous task.
[System.Threading.Tasks.Task&lt;](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task-1 'System.Threading.Tasks.Task`1')[System.Boolean](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean 'System.Boolean')[&gt;](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task-1 'System.Threading.Tasks.Task`1')
True if loading was successful; otherwise false.

<a name='Caliban.Nano.Data.Model.Save()'></a>

Expand All @@ -108,14 +108,14 @@ An asynchronous task.
(Awaitable) Saves the model and resets changed state.

```csharp
public virtual System.Threading.Tasks.Task Save();
public virtual System.Threading.Tasks.Task<bool> Save();
```

Implements [Save()](Caliban.Nano.Contracts.IModel.md#Caliban.Nano.Contracts.IModel.Save() 'Caliban.Nano.Contracts.IModel.Save()')

#### Returns
[System.Threading.Tasks.Task](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task 'System.Threading.Tasks.Task')
An asynchronous task.
[System.Threading.Tasks.Task&lt;](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task-1 'System.Threading.Tasks.Task`1')[System.Boolean](https://docs.microsoft.com/en-us/dotnet/api/System.Boolean 'System.Boolean')[&gt;](https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Task-1 'System.Threading.Tasks.Task`1')
True if saving was successful; otherwise false.

<a name='Caliban.Nano.Data.Model.Set_T_(T,string,string[])'></a>

Expand Down

0 comments on commit ae3fd1f

Please sign in to comment.