Skip to content

Commit bf6328d

Browse files
author
maximv
committed
updating docs project to work properly in VS
1 parent 6885d26 commit bf6328d

File tree

4 files changed

+32
-9
lines changed

4 files changed

+32
-9
lines changed

docs/DryIoc.Docs/DryIoc.Docs.csproj

+18
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
</ItemGroup>
2525

2626
<ItemGroup>
27+
<Compile Update="Extensions\MefAttributedModel.cs">
28+
<Generator>CsToMd</Generator>
29+
<LastGenOutput>MefAttributedModel.md</LastGenOutput>
30+
</Compile>
2731
<Compile Update="CreatingAndDisposingContainer.cs">
2832
<Generator>CsToMd</Generator>
2933
<LastGenOutput>CreatingAndDisposingContainer.md</LastGenOutput>
@@ -80,6 +84,10 @@
8084
<Generator>CsToMd</Generator>
8185
<LastGenOutput>SpecifyDependencyAndPrimitiveValues.md</LastGenOutput>
8286
</Compile>
87+
<Compile Update="ThreadSafety.cs">
88+
<Generator>CsToMd</Generator>
89+
<LastGenOutput>ThreadSafety.md</LastGenOutput>
90+
</Compile>
8391
<Compile Update="UsingInTestsWithMockingLibrary.cs">
8492
<Generator>CsToMd</Generator>
8593
<LastGenOutput>UsingInTestsWithMockingLibrary.md</LastGenOutput>
@@ -91,6 +99,11 @@
9199
</ItemGroup>
92100

93101
<ItemGroup>
102+
<None Update="Extensions\MefAttributedModel.md">
103+
<DesignTime>True</DesignTime>
104+
<AutoGen>True</AutoGen>
105+
<DependentUpon>MefAttributedModel.cs</DependentUpon>
106+
</None>
94107
<None Update="CreatingAndDisposingContainer.md">
95108
<DesignTime>True</DesignTime>
96109
<AutoGen>True</AutoGen>
@@ -161,6 +174,11 @@
161174
<AutoGen>True</AutoGen>
162175
<DependentUpon>SpecifyDependencyAndPrimitiveValues.cs</DependentUpon>
163176
</None>
177+
<None Update="ThreadSafety.md">
178+
<DesignTime>True</DesignTime>
179+
<AutoGen>True</AutoGen>
180+
<DependentUpon>ThreadSafety.cs</DependentUpon>
181+
</None>
164182
<None Update="UsingInTestsWithMockingLibrary.md">
165183
<DesignTime>True</DesignTime>
166184
<AutoGen>True</AutoGen>

docs/DryIoc.Docs/Extensions/MefAttributedModel.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/*md
22
<!--Auto-generated from .cs file, the edits made to .md file will be lost! -->
33
4-
# MefAttributedModel extension
4+
# MefAttributedModel
55
66
7-
- [MefAttributedModel extension](#mefattributedmodel-extension)
7+
- [MefAttributedModel](#mefattributedmodel)
88
- [Overview](#overview)
99
- [Comparing to MEF](#comparing-to-mef)
1010
- [Works without System.ComponentModel.Composition](#works-without-systemcomponentmodelcomposition)

docs/DryIoc.Docs/Extensions/MefAttributedModel.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!--Auto-generated from .cs file, the edits made to .md file will be lost! -->
22

3-
# MefAttributedModel extension
3+
# MefAttributedModel
44

55

6-
- [MefAttributedModel extension](#mefattributedmodel-extension)
6+
- [MefAttributedModel](#mefattributedmodel)
77
- [Overview](#overview)
88
- [Comparing to MEF](#comparing-to-mef)
99
- [Works without System.ComponentModel.Composition](#works-without-systemcomponentmodelcomposition)

docs/DryIoc.Docs/Extensions/SignalR.md

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# SignalR Integration
22

3-
[TOC]
3+
4+
- [SignalR Integration](#signalr-integration)
5+
- [Overview](#overview)
6+
- [Usage](#usage)
7+
- [Replacing Dependency Resolver WithSignalR method](#replacing-dependency-resolver-withsignalr-method)
8+
- [Using DryIocHubActivator with DefaultDependencyResolver](#using-dryiochubactivator-with-defaultdependencyresolver)
9+
410

511
# Overview
612

@@ -28,8 +34,7 @@ DryIoc has two ways to setup things with SignalR:
2834
## Replacing Dependency Resolver WithSignalR method
2935

3036
Using max integration with `WithSignalR`:
31-
```
32-
#!c#
37+
```cs
3338
var hubAssemblies = new[] { Assembly.GetExecutingAssembly() };
3439
container = new Container().WithSignalR(hubAssemblies);
3540
RouteTable.Routes.MapHubs();
@@ -39,8 +44,8 @@ Using max integration with `WithSignalR`:
3944
## Using DryIocHubActivator with DefaultDependencyResolver
4045

4146
Just using `DryIocHubActivator` with default dependency resolver:
42-
```
43-
#!c#
47+
48+
```cs
4449
container = new Container();
4550
var hubAssemblies = new[] { Assembly.GetExecutingAssembly() };
4651
container.RegisterHubs(hubAssemblies);

0 commit comments

Comments
 (0)