Summary
Gets the data context resolver.
- Namespace
- Cake
.Core - Containing Type
- ICakeContext
Syntax
ICakeDataResolver Data { get; }
Examples
Setup<Foo>(context => new Foo { Place = "World" });
Task("Hello")
.Does(context =>
{
var data = context.Data.Get<Foo>();
Information("Hello {0}", data.Place);
});
Value
| Type | Description |
|---|---|
| ICakeDataResolver |
