Skip to content

Commit

Permalink
change cs to csharp
Browse files Browse the repository at this point in the history
  • Loading branch information
runceel committed Jun 5, 2019
1 parent 2c837cb commit d6cd487
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
3 changes: 2 additions & 1 deletion docs/docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ module.exports = {
items: [
{ text: 'Thread control', link: '/advanced/thread.html' },
{ text: 'Work with await operator', link: '/advanced/awaitable.html' },
{ text: 'Work with other MVVM Frameworks', link: '/advanced/work-with-other-mvvm-framwork.html' },
]
},
{ text: 'Samples', link: '/samples.html' },
Expand All @@ -43,6 +44,6 @@ module.exports = {
docsRepo: 'runceel/ReactiveProperty',
docsDir: 'docs/docs',
editLinks: true,
editLinkText: 'Help us improve this page!',
editLinkText: 'Help us improve this document!',
}
}
6 changes: 3 additions & 3 deletions docs/docs/advanced/work-with-other-mvvm-framwork.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ When using ReactiveProperty with Prism, you can replace DelegateCommand to React
I created a Prism Blank App(WPF) as PrismSampleApp and Prism Module (WPF) as PrismSampleModule.
And add PrismSampleModule reference to PrismSampleApp, then edit App.xaml.cs to add the module, like below:

```cs
```csharp
public partial class App
{
protected override Window CreateShell()
Expand All @@ -41,7 +41,7 @@ public partial class App

At next, edit PrismSampleModuleModule.cs file to add a view for Navigation, and to show ViewA to Shell.

```cs
```csharp
using PrismSampleModule.Views;
using Prism.Ioc;
using Prism.Modularity;
Expand Down Expand Up @@ -77,7 +77,7 @@ Add ReactiveProperty reference to all projects using NuGet. And please feel free

In this case, I used ReactiveProperty features at ViewAViewModel.cs like below:

```cs
```csharp
using Prism.Mvvm;
using Reactive.Bindings;
using System;
Expand Down
16 changes: 8 additions & 8 deletions docs/docs/getting-started/add-snippets.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,34 @@ Following document is steps to add a snippet to Visual Studio.
## Provide snippets

- `rprop`
```cs
```csharp
public ReactiveProperty<T> PropertyName { get; }
```
- `rrprop`
```cs
```csharp
public ReadOnlyReactiveProperty<T> PropertyName { get; }
```
- `rcom`
```cs
```csharp
public ReactiveCommand CommandName { get; }
```
- `rcomg`
```cs
```csharp
public ReactiveCommand<T> CommandName { get; }
```
- `arcom`
```cs
```csharp
public AsyncReactiveCommand CommandName { get; }
```
- `arcomg`
```cs
```csharp
public AsyncReactiveCommand<T> CommandName { get; }
```
- `rcoll`
```cs
```csharp
public ReactiveCollection<T> CollectionName { get; }
```
- `rrcoll`
```cs
```csharp
public ReadOnlyReactiveCollection<T> CollectionName { get; }
```

0 comments on commit d6cd487

Please sign in to comment.