formgen/source/logic/ioc/empty.ts
2026-09-30 08:38:52 +02:00

60 lines
658 B
TypeScript

namespace formgen.ioc
{
/**
*/
export class class_ioc_empty implements interface_ioc<null>
{
/**
*/
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);
}
/**
* [implementation]
*/
public listen(
) : void
{
// do nothing
}
}
}