Class MigrationSettings
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Engine.Configuration
Assembly: Cephalon.Engine.dll
Describes configuration-driven migration settings for a Cephalon app.
public sealed class MigrationSettingsInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”MigrationSettings(StranglerFigMigrationSettings?)
Section titled “ MigrationSettings(StranglerFigMigrationSettings?)”Initializes a new instance of the
public MigrationSettings(StranglerFigMigrationSettings? stranglerFig = null)Parameters
Section titled “Parameters”stranglerFig StranglerFigMigrationSettings?
The strangler-fig migration settings resolved for the app.
Properties
Section titled “Properties”Gets an empty migration-settings instance.
public static MigrationSettings Empty { get; }Property Value
Section titled “Property Value”HasValues
Section titled “ HasValues”Gets a value indicating whether any migration settings were explicitly supplied.
public bool HasValues { get; }Property Value
Section titled “Property Value”StranglerFig
Section titled “ StranglerFig”Gets the strangler-fig migration settings resolved for the app.
public StranglerFigMigrationSettings StranglerFig { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”FromConfiguration(IConfiguration, string)
Section titled “ FromConfiguration(IConfiguration, string)”Reads migration settings from configuration.
public static MigrationSettings FromConfiguration(IConfiguration configuration, string sectionPath = "Engine")Parameters
Section titled “Parameters”configuration IConfiguration
The configuration source that contains the engine section.
sectionPath string
The root configuration section path to read from.
Returns
Section titled “Returns”The parsed migration settings.