Class LayoutConfigureServicesCallbackAttribute
Configures a method to invoke when configuring services.
[BaseTypeRequired(typeof(Layout))]
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class LayoutConfigureServicesCallbackAttribute : Attribute
- Inheritance
-
LayoutConfigureServicesCallbackAttribute
- Inherited Members
Remarks
The method must be static and have the following signature: void(ContainerBuilder, LayoutInfo).
Constructors
LayoutConfigureServicesCallbackAttribute(string)
Configures a method to invoke when configuring services.
public LayoutConfigureServicesCallbackAttribute(string methodName)
Parameters
methodNamestring
Remarks
The method must be static and have the following signature: void(ContainerBuilder, LayoutInfo).
Properties
MethodName
Name of the static method in this class to invoke.
public string MethodName { get; }