Class XmlBeans
The runtime half of generated bean registrations: builds an instance the same way the
<bean> section does — the registered IBeanTypeResolver decides what the
type name means, and every value binds through the same factory as the XML section.
public static class XmlBeans
Inheritance
Methods
Create(IRouteContext, string, object?[], (string Key, object? Value)[], string?, string[]?)
Creates a bean instance for a generated registration. A value is a string (placeholders
public static object Create(IRouteContext context, string typeName, object?[] constructorArgs, (string Key, object? Value)[] properties, string? factoryMethod = null, string[]? argumentTypes = null)
List(IRouteContext, string?, object?[])
A <list> for : the items as raw values, the element type
public static object List(IRouteContext context, string? elementType, object?[] items)
Ref(IRouteContext, string)
A registered bean for a ref: it must already be in the registry — generated
public static object Ref(IRouteContext context, string name)