Table of Contents

Class LayoutConfigureServicesCallbackAttribute

Namespace
Uncreated.Warfare.Layouts
Assembly
Uncreated.Warfare.dll

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

methodName string

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; }

Property Value

string