StaticRoutesXmlConfigurationBuilderExtension.AddStaticRoutesXmlConfiguration Method
Adds the contents of the StaticRoutes.xml file(s) and routes subfolder into the configuration.
Namespace: TwinCAT.Ads.Configuration
Assembly: TwinCAT.Ads.ConfigurationProviders (in TwinCAT.Ads.ConfigurationProviders.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public static IConfigurationBuilder AddStaticRoutesXmlConfiguration(
this IConfigurationBuilder builder,
ILoggerFactory? logger
)Parameters
|
builder IConfigurationBuilder |
The configuration builder. |
|
logger ILoggerFactory |
The logger factory. |
Return Value
IConfigurationBuilder
IConfigurationBuilder.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IConfigurationBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
Reference
StaticRoutesXmlConfigurationBuilderExtension Class TwinCAT.Ads.Configuration Namespace
Beckhoff Automation GmbH & Co. KG 2001-2026