Skip to content

Commit d35dbce

Browse files
author
maximv
committed
fixing the docs internal links on GitHub
1 parent deb9ee4 commit d35dbce

20 files changed

+80
-80
lines changed

docs/DryIoc.Docs/CreatingAndDisposingContainer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ [Test] public void Example()
4343
```
4444
4545
As you see, it is possible to additionally specify the `rules` and
46-
the [`scopeContext`](ReuseAndScopes#what-scopecontext-is).
46+
the [`scopeContext`](ReuseAndScopes.md#what-scopecontext-is).
4747
4848
4949
### Rules
@@ -83,7 +83,7 @@ public void Example()
8383
### ScopeContext
8484
8585
ScopeContext is an __optional__ ambient context for the new open scopes to be bound to.
86-
It is described in details [here](ReuseAndScopes#scopecontext).
86+
It is described in details [here](ReuseAndScopes.md#scopecontext).
8787
8888
8989
## Disposing Container

docs/DryIoc.Docs/CreatingAndDisposingContainer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Creating_container_with_explicit_defaults
4242
```
4343

4444
As you see, it is possible to additionally specify the `rules` and
45-
the [`scopeContext`](ReuseAndScopes#what-scopecontext-is).
45+
the [`scopeContext`](ReuseAndScopes.md#what-scopecontext-is).
4646

4747

4848
### Rules
@@ -82,7 +82,7 @@ class Adding_some_rules_with_action
8282
### ScopeContext
8383

8484
ScopeContext is an __optional__ ambient context for the new open scopes to be bound to.
85-
It is described in details [here](ReuseAndScopes#scopecontext).
85+
It is described in details [here](ReuseAndScopes.md#scopecontext).
8686

8787

8888
## Disposing Container

docs/DryIoc.Docs/Decorators.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
- [Reusing the scoped service from the parent scope](#reusing-the-scoped-service-from-the-parent-scope)
2424
2525
26-
[FactoryMethod]:SelectConstructorOrFactoryMethod#factory-method-instead-of-constructor
26+
[FactoryMethod]:SelectConstructorOrFactoryMethod.md#factory-method-instead-of-constructor
2727
2828
## Overview
2929
@@ -536,7 +536,7 @@ public void Example()
536536
537537
DryIoc supports decorating of wrappers directly to adjust corresponding wrapper behavior, to add new functionality, to apply filtering, etc.
538538
539-
Consider the decorating of [collection wrapper](Wrappers#ienumerable-or-array-of-a).
539+
Consider the decorating of [collection wrapper](Wrappers.md#ienumerable-or-array-of-a).
540540
Let`s say we want to change the default collection behavior and exclude keyed services from the result:
541541
542542
```cs md*/
@@ -647,7 +647,7 @@ which is a decorator in disguise.
647647
648648
## Decorator as Interceptor with Castle DynamicProxy
649649
650-
[Explained here](Interception#decorator-with-castle-dynamicproxy)
650+
[Explained here](Interception.md#decorator-with-castle-dynamicproxy)
651651
652652
653653
## Doing the interesting things with decorators

docs/DryIoc.Docs/Decorators.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
- [Reusing the scoped service from the parent scope](#reusing-the-scoped-service-from-the-parent-scope)
2323

2424

25-
[FactoryMethod]:SelectConstructorOrFactoryMethod#factory-method-instead-of-constructor
25+
[FactoryMethod]:SelectConstructorOrFactoryMethod.md#factory-method-instead-of-constructor
2626

2727
## Overview
2828

@@ -535,7 +535,7 @@ class Nesting_decorators_of_wrapped_service
535535

536536
DryIoc supports decorating of wrappers directly to adjust corresponding wrapper behavior, to add new functionality, to apply filtering, etc.
537537

538-
Consider the decorating of [collection wrapper](Wrappers#ienumerable-or-array-of-a).
538+
Consider the decorating of [collection wrapper](Wrappers.md#ienumerable-or-array-of-a).
539539
Let`s say we want to change the default collection behavior and exclude keyed services from the result:
540540

541541
```cs
@@ -646,7 +646,7 @@ Moreover, to complement the `RegisterInitializer` there is also a [`RegisterDisp
646646

647647
## Decorator as Interceptor with Castle DynamicProxy
648648

649-
[Explained here](Interception#decorator-with-castle-dynamicproxy)
649+
[Explained here](Interception.md#decorator-with-castle-dynamicproxy)
650650

651651

652652
## Doing the interesting things with decorators

docs/DryIoc.Docs/ExamplesContextBasedResolution.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1414
Here is [the discussion](https://github.com/autofac/Autofac/issues/644) and example [how to inject log4net](https://gist.github.com/piers7/81724d51a7ca158d721e) in Autofac.
1515
16-
In DryIoc we may use [strongly-typed Factory Method](SelectConstructorOrFactoryMethod#factory-method-instead-of-constructor) specification to register log4net.ILog:
16+
In DryIoc we may use [strongly-typed Factory Method](SelectConstructorOrFactoryMethod.md#factory-method-instead-of-constructor) specification to register log4net.ILog:
1717
1818
```cs md*/
1919
using DryIoc;

docs/DryIoc.Docs/ExamplesContextBasedResolution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
Here is [the discussion](https://github.com/autofac/Autofac/issues/644) and example [how to inject log4net](https://gist.github.com/piers7/81724d51a7ca158d721e) in Autofac.
1414

15-
In DryIoc we may use [strongly-typed Factory Method](SelectConstructorOrFactoryMethod#factory-method-instead-of-constructor) specification to register log4net.ILog:
15+
In DryIoc we may use [strongly-typed Factory Method](SelectConstructorOrFactoryMethod.md#factory-method-instead-of-constructor) specification to register log4net.ILog:
1616

1717
```cs
1818
using DryIoc;

docs/DryIoc.Docs/Extensions/MefAttributedModel.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ public Client([WithMetadata("b")]I it) { /* will import it as Y */}
568568
569569
## Exporting disposable transient
570570
571-
The attributes described below correspond to the specific [DryIoc registration options](..\ReuseAndScopes#disposable-transient).
571+
The attributes described below correspond to the specific [DryIoc registration options](..\ReuseAndScopes.md#disposable-transient).
572572
573573
By default exporting transient service implementing `IDisposable` will throw the exception,
574574
until the container-wide rule is set `Rules.WithoutThrowOnRegisteringDisposableTransient`.
@@ -613,7 +613,7 @@ To enable the tracking see the `TrackDisposableTransientAttribute` below.
613613
### TrackDisposableTransient
614614
615615
Exported disposable transient marked with this attributed will be tracked by container and disposed on disposing the tracking scope.
616-
The attribute corresponds to DryIoc registration option [trackDisposableTransient](..\ReuseAndScopes#disposable-transient)
616+
The attribute corresponds to DryIoc registration option [trackDisposableTransient](..\ReuseAndScopes.md#disposable-transient)
617617
618618
```cs md*/
619619
class Exporting_with_TrackDisposableTransient
@@ -644,23 +644,23 @@ [Test] public void Example()
644644
645645
### AsDecorator attribute
646646
647-
Check the [Decorators](../Decorators#overview)
647+
Check the [Decorators](../Decorators.md#overview)
648648
649649
### AsWrapper attribute
650650
651-
Check the [Wrappers](../Wrappers#overview)
651+
Check the [Wrappers](../Wrappers.md#overview)
652652
653653
## Other export options
654654
655655
### PreventDisposalAttribute
656656
657-
Sets the registration option [preventDisposal](..\ReuseAndScopes#prevent-disposal-of-reused-service).
657+
Sets the registration option [preventDisposal](..\ReuseAndScopes.md#prevent-disposal-of-reused-service).
658658
659659
### WeaklyReferencedAttribute
660660
661-
Set the registration option [weaklyReferenced](..\ReuseAndScopes#weakly-referenced-reused-service).
661+
Set the registration option [weaklyReferenced](..\ReuseAndScopes.md#weakly-referenced-reused-service).
662662
663663
### AsResolutionCall
664664
665-
Set the registration option [asResolutionCall](..\RulesAndDefaultConventions#injecting-dependency-asresolutioncall).
665+
Set the registration option [asResolutionCall](..\RulesAndDefaultConventions.md#injecting-dependency-asresolutioncall).
666666
md*/

docs/DryIoc.Docs/Extensions/MefAttributedModel.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ class Using_WithMetadata
546546

547547
## Exporting disposable transient
548548

549-
The attributes described below correspond to the specific [DryIoc registration options](..\ReuseAndScopes#disposable-transient).
549+
The attributes described below correspond to the specific [DryIoc registration options](..\ReuseAndScopes.md#disposable-transient).
550550

551551
By default exporting transient service implementing `IDisposable` will throw the exception,
552552
until the container-wide rule is set `Rules.WithoutThrowOnRegisteringDisposableTransient`.
@@ -590,7 +590,7 @@ To enable the tracking see the `TrackDisposableTransientAttribute` below.
590590
### TrackDisposableTransient
591591

592592
Exported disposable transient marked with this attributed will be tracked by container and disposed on disposing the tracking scope.
593-
The attribute corresponds to DryIoc registration option [trackDisposableTransient](..\ReuseAndScopes#disposable-transient)
593+
The attribute corresponds to DryIoc registration option [trackDisposableTransient](..\ReuseAndScopes.md#disposable-transient)
594594

595595
```cs
596596
class Exporting_with_TrackDisposableTransient
@@ -620,22 +620,22 @@ class Exporting_with_TrackDisposableTransient
620620

621621
### AsDecorator attribute
622622

623-
Check the [Decorators](../Decorators#overview)
623+
Check the [Decorators](../Decorators.md#overview)
624624

625625
### AsWrapper attribute
626626

627-
Check the [Wrappers](../Wrappers#overview)
627+
Check the [Wrappers](../Wrappers.md#overview)
628628

629629
## Other export options
630630

631631
### PreventDisposalAttribute
632632

633-
Sets the registration option [preventDisposal](..\ReuseAndScopes#prevent-disposal-of-reused-service).
633+
Sets the registration option [preventDisposal](..\ReuseAndScopes.md#prevent-disposal-of-reused-service).
634634

635635
### WeaklyReferencedAttribute
636636

637-
Set the registration option [weaklyReferenced](..\ReuseAndScopes#weakly-referenced-reused-service).
637+
Set the registration option [weaklyReferenced](..\ReuseAndScopes.md#weakly-referenced-reused-service).
638638

639639
### AsResolutionCall
640640

641-
Set the registration option [asResolutionCall](..\RulesAndDefaultConventions#injecting-dependency-asresolutioncall).
641+
Set the registration option [asResolutionCall](..\RulesAndDefaultConventions.md#injecting-dependency-asresolutioncall).

docs/DryIoc.Docs/KindsOfChildContainer.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ DryIoc has no "usual" notion of child and parent container.
3131
IContainer With(Rules rules, IScopeContext scopeContext, RegistrySharing registrySharing, IScope singletonScope);
3232
```
3333
34-
- `rules` are described in details [here](RulesAndDefaultConventions#Rules-per-Container)
35-
- `scopeContext` and `singletonScope` are described [here](ReuseAndScopes#scopecontext)
34+
- `rules` are described in details [here](RulesAndDefaultConventions.md#Rules-per-Container)
35+
- `scopeContext` and `singletonScope` are described [here](ReuseAndScopes.md#scopecontext)
3636
3737
`RegistrySharing` is the `enum` to specify how to re-use the parent registry:
3838
```cs
@@ -42,7 +42,7 @@ public enum RegistrySharing { Share, CloneButKeepCache, CloneAndDropCache }
4242
The enum member names are self-explanatory.
4343
4444
__Note__: `OpenScope` is another way to create a new container from existing one, but a bit different from `With`.
45-
It is explained in details [here](ReuseAndScopes#incurrentscope).
45+
It is explained in details [here](ReuseAndScopes.md#incurrentscope).
4646
4747
4848
## Facade

docs/DryIoc.Docs/KindsOfChildContainer.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ The signature of `IContainer.With` describes what can be changed:
3030
IContainer With(Rules rules, IScopeContext scopeContext, RegistrySharing registrySharing, IScope singletonScope);
3131
```
3232

33-
- `rules` are described in details [here](RulesAndDefaultConventions#Rules-per-Container)
34-
- `scopeContext` and `singletonScope` are described [here](ReuseAndScopes#scopecontext)
33+
- `rules` are described in details [here](RulesAndDefaultConventions.md#Rules-per-Container)
34+
- `scopeContext` and `singletonScope` are described [here](ReuseAndScopes.md#scopecontext)
3535

3636
`RegistrySharing` is the `enum` to specify how to re-use the parent registry:
3737
```cs
@@ -41,7 +41,7 @@ public enum RegistrySharing { Share, CloneButKeepCache, CloneAndDropCache }
4141
The enum member names are self-explanatory.
4242

4343
__Note__: `OpenScope` is another way to create a new container from existing one, but a bit different from `With`.
44-
It is explained in details [here](ReuseAndScopes#incurrentscope).
44+
It is explained in details [here](ReuseAndScopes.md#incurrentscope).
4545

4646

4747
## Facade

docs/DryIoc.Docs/RegisterResolve.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -277,14 +277,14 @@ It has an interesting property `DefaultKey.RegistrationOrder`. More on keyed reg
277277
278278
There are also a couple of ways to select a specific registration and avoid an exception in `Resolve<ICommand>`:
279279
280-
- Using [condition](SpecifyDependencyAndPrimitiveValues#registering-with-condition):
280+
- Using [condition](SpecifyDependencyAndPrimitiveValues.md#registering-with-condition):
281281
`container.Register<ICommand, GetCommand>(setup: Setup.With(condition: req => req.IsResolutionRoot))`
282282
and for the rest of registrations to specify opposite condition, e.g. `condition: r => !r.IsResolutionRoot`.
283283
- Using specific metadata type (`CommandId` enum) and resolving as `Meta<,>` wrapper:
284284
`container.Register<ICommand, GetCommand>(setup: Setup.With(metadata: CommandId.Get));`
285285
and then resolving as `container.Resolve<IEnumerable<Meta<ICommand, CommandId>>>().Where(m => m.Metadata == CommandId.Get))`
286-
- Using [reuse bound to specific parent scope](ReuseAndScopes#reuseinresolutionscopeof)
287-
or to [named scope](ReuseAndScopes#reuseincurrentnamedscope-and-reuseinthread).
286+
- Using [reuse bound to specific parent scope](ReuseAndScopes.md#reuseinresolutionscopeof)
287+
or to [named scope](ReuseAndScopes.md#reuseincurrentnamedscope-and-reuseinthread).
288288
- Registering with `serviceKey`.
289289
290290
@@ -772,8 +772,8 @@ public CheerfulService(GreetingsProvider greetingsProvider)
772772
1. Memory leaks by capturing variables into delegate closure and keeping them for a container lifetime.
773773
2. Delegate is the black box for Container, mostly because it should use the `Resolve` call inside to resolve the dependency cutting of the object graph analysis, which makes it hard to find type mismatches or diagnose other potential problems. Among the un-catched problems are:
774774
775-
- [Recursive Dependency](ErrorDetectionAndResolution#RecursiveDependencyDetected)
776-
- [Captive Dependency](ErrorDetectionAndResolution#using-validate-to-check-for-captive-dependency)
775+
- [Recursive Dependency](ErrorDetectionAndResolution.md#RecursiveDependencyDetected)
776+
- [Captive Dependency](ErrorDetectionAndResolution.md#using-validate-to-check-for-captive-dependency)
777777
778778
Therefore, try to use it only as a last resort. DryIoc has plenty of tools to cover for custom delegate in more effective way.
779779
The alternative would be a [FactoryMethod](ConstructorSelection).
@@ -786,7 +786,7 @@ It solves the two problems mentioned in the [RegisterDelegate](#registerdelegate
786786
it **injects** the requested dependencies as a delegate arguments so there is no need in calling `Resolve` inside.
787787
788788
- The dependencies injection and their lifetime is controlled by container
789-
- There is no black-box service location involved and both [Recursive Dependency](ErrorDetectionAndResolution#RecursiveDependencyDetected) and [Captive Dependency](ErrorDetectionAndResolution#using-validate-to-check-for-captive-dependency) problems are catched by container.
789+
- There is no black-box service location involved and both [Recursive Dependency](ErrorDetectionAndResolution.md#RecursiveDependencyDetected) and [Captive Dependency](ErrorDetectionAndResolution.md#using-validate-to-check-for-captive-dependency) problems are catched by container.
790790
791791
The example:
792792
```cs md*/

docs/DryIoc.Docs/RegisterResolve.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -276,14 +276,14 @@ __Note:__ When resolving collection of multiple defaults, it always ordered in r
276276

277277
There are also a couple of ways to select a specific registration and avoid an exception in `Resolve<ICommand>`:
278278

279-
- Using [condition](SpecifyDependencyAndPrimitiveValues#registering-with-condition):
279+
- Using [condition](SpecifyDependencyAndPrimitiveValues.md#registering-with-condition):
280280
`container.Register<ICommand, GetCommand>(setup: Setup.With(condition: req => req.IsResolutionRoot))`
281281
and for the rest of registrations to specify opposite condition, e.g. `condition: r => !r.IsResolutionRoot`.
282282
- Using specific metadata type (`CommandId` enum) and resolving as `Meta<,>` wrapper:
283283
`container.Register<ICommand, GetCommand>(setup: Setup.With(metadata: CommandId.Get));`
284284
and then resolving as `container.Resolve<IEnumerable<Meta<ICommand, CommandId>>>().Where(m => m.Metadata == CommandId.Get))`
285-
- Using [reuse bound to specific parent scope](ReuseAndScopes#reuseinresolutionscopeof)
286-
or to [named scope](ReuseAndScopes#reuseincurrentnamedscope-and-reuseinthread).
285+
- Using [reuse bound to specific parent scope](ReuseAndScopes.md#reuseinresolutionscopeof)
286+
or to [named scope](ReuseAndScopes.md#reuseincurrentnamedscope-and-reuseinthread).
287287
- Registering with `serviceKey`.
288288

289289

@@ -771,8 +771,8 @@ Though powerful, registering delegate may lead to the problems:
771771
1. Memory leaks by capturing variables into delegate closure and keeping them for a container lifetime.
772772
2. Delegate is the black box for Container, mostly because it should use the `Resolve` call inside to resolve the dependency cutting of the object graph analysis, which makes it hard to find type mismatches or diagnose other potential problems. Among the un-catched problems are:
773773

774-
- [Recursive Dependency](ErrorDetectionAndResolution#RecursiveDependencyDetected)
775-
- [Captive Dependency](ErrorDetectionAndResolution#using-validate-to-check-for-captive-dependency)
774+
- [Recursive Dependency](ErrorDetectionAndResolution.md#RecursiveDependencyDetected)
775+
- [Captive Dependency](ErrorDetectionAndResolution.md#using-validate-to-check-for-captive-dependency)
776776

777777
Therefore, try to use it only as a last resort. DryIoc has plenty of tools to cover for custom delegate in more effective way.
778778
The alternative would be a [FactoryMethod](ConstructorSelection).
@@ -785,7 +785,7 @@ It solves the two problems mentioned in the [RegisterDelegate](#registerdelegate
785785
it **injects** the requested dependencies as a delegate arguments so there is no need in calling `Resolve` inside.
786786

787787
- The dependencies injection and their lifetime is controlled by container
788-
- There is no black-box service location involved and both [Recursive Dependency](ErrorDetectionAndResolution#RecursiveDependencyDetected) and [Captive Dependency](ErrorDetectionAndResolution#using-validate-to-check-for-captive-dependency) problems are catched by container.
788+
- There is no black-box service location involved and both [Recursive Dependency](ErrorDetectionAndResolution.md#RecursiveDependencyDetected) and [Captive Dependency](ErrorDetectionAndResolution.md#using-validate-to-check-for-captive-dependency) problems are catched by container.
789789

790790
The example:
791791
```cs

docs/DryIoc.Docs/RequiredServiceType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public void Example()
236236
237237
## Works with IEnumerable and collection wrappers
238238
239-
[IEnumerable and the rest of supported collection types]((Wrappers#ienumerable-or-array-of-a)) are also Wrappers,
239+
[IEnumerable and the rest of supported collection types]((Wrappers.md#ienumerable-or-array-of-a)) are also Wrappers,
240240
so you may expect required service type to work with them too:
241241
```cs md*/
242242
class Required_service_type_in_collection

docs/DryIoc.Docs/RequiredServiceType.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ Here in `Arg.Of<Lazy<object>, IFoo>()` DryIoc will look for required service typ
235235

236236
## Works with IEnumerable and collection wrappers
237237

238-
[IEnumerable and the rest of supported collection types]((Wrappers#ienumerable-or-array-of-a)) are also Wrappers,
238+
[IEnumerable and the rest of supported collection types]((Wrappers.md#ienumerable-or-array-of-a)) are also Wrappers,
239239
so you may expect required service type to work with them too:
240240
```cs
241241
class Required_service_type_in_collection

docs/DryIoc.Docs/ReuseAndScopes.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ One type of reuse is well known in software development as [Singleton](http://en
5454
5555
You can create your own reuse by implementing `IReuse` interface.
5656
57-
Container uses Scopes ([see below](ReuseAndScopes#what-scope-is)) to
57+
Container uses Scopes ([see below](ReuseAndScopes.md#what-scope-is)) to
5858
store resolved services of non-Transient reuse.
5959
Scope implements `IDisposable` and when disposed will dispose reused disposable services. You may prevent service disposal
60-
via [setup option](ReuseAndScopes#prevent-disposal-of-reused-service).
60+
via [setup option](ReuseAndScopes.md#prevent-disposal-of-reused-service).
6161
6262
__Note:__ Service disposal is always taken in the reverse registration order.
6363
@@ -698,7 +698,7 @@ class Dependency : IDisposable
698698
699699
### Own the resolution scope disposal
700700
701-
You else may get in control of disposing the resolution scope by injecting the `IResolverContext` ([automatically provided for you by Container](RulesAndDefaultConventions#implicitly-available-services))
701+
You else may get in control of disposing the resolution scope by injecting the `IResolverContext` ([automatically provided for you by Container](RulesAndDefaultConventions.md#implicitly-available-services))
702702
which holds the current scope and then dispose it manually.
703703
704704
```cs md*/

0 commit comments

Comments
 (0)