2026-09-30 08:38:52 +02:00
|
|
|
namespace formgen.ioc
|
2026-04-22 22:24:32 +02:00
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*/
|
2026-09-30 08:38:52 +02:00
|
|
|
export class class_ioc_empty implements interface_ioc<null>
|
2026-04-22 22:24:32 +02:00
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*/
|
|
|
|
|
public constructor(
|
|
|
|
|
)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* [implementation]
|
|
|
|
|
*/
|
|
|
|
|
public setup(
|
|
|
|
|
element_target : Element
|
|
|
|
|
) : Promise<void>
|
|
|
|
|
{
|
|
|
|
|
return Promise.resolve<void>(undefined);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* [implementation]
|
|
|
|
|
*/
|
|
|
|
|
public read(
|
|
|
|
|
) : Promise<null>
|
|
|
|
|
{
|
|
|
|
|
return Promise.resolve<null>(null);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* [implementation]
|
|
|
|
|
*/
|
|
|
|
|
public write(
|
|
|
|
|
value : null
|
|
|
|
|
) : Promise<void>
|
|
|
|
|
{
|
|
|
|
|
return Promise.resolve<void>(undefined);
|
|
|
|
|
}
|
|
|
|
|
|
2026-09-30 08:38:52 +02:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* [implementation]
|
|
|
|
|
*/
|
|
|
|
|
public listen(
|
|
|
|
|
) : void
|
|
|
|
|
{
|
|
|
|
|
// do nothing
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-22 22:24:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|