bogdanpolak / bogdanpolak/dependency-injection
[Plan] Documentation
- Dominant language
- No language data
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
DBContext Factory: (demo03)
```
type
IDbContext = interface
['{F4653C0C-2C05-4348-A744-3288E520F586}']
procedure Execute;
end;
IDbContextFactory = interface(IInvokable)
['{F632D1FB-9C34-48FD-BD72-6BBC436D1B47}']
function Create(const aConnectionString: string): IDbContext; overload;
end;
type
TDbContext = class(TInterfacedObject, IDbContext)
private
public
constructor Create(const aConnectionString: string);
procedure Execute;
end;
```
Lazy Service: (demo 04)
```
type
IExampleService = interface
['{9722C609-5444-4054-B544-24D30DE8B3B3}']
end;
TExampleService = class(TInterfacedObject, IExampleService)
end;
type
THomeController = class
private
fService: Lazy;
public
constructor Create(const service: Lazy);
function GetService: IExampleService;
end;
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the demo03 DBContext Factory and demo04 Lazy Service examples referenced in the issue. Read those entry points alongside the existing project documentation, if present, and clarify which documentation deliverable is expected for each example. Done should be defined as documenting both examples, but the issue does not specify files, tests, or exact wording.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100