Share via


MigrationsScaffolder.GetNamespace(Type, String) Method

Definition

Gets the namespace of a sibling type. If none, the default namespace is used.

protected virtual string GetNamespace (Type siblingType, string defaultNamespace);
protected virtual string GetNamespace (Type? siblingType, string defaultNamespace);
abstract member GetNamespace : Type * string -> string
override this.GetNamespace : Type * string -> string
Protected Overridable Function GetNamespace (siblingType As Type, defaultNamespace As String) As String

Parameters

siblingType
Type

The sibling type.

defaultNamespace
String

The default namespace.

Returns

The namespace.

Applies to