public AssemblyOptions(string targetAssemblyName, string?defaultNamespace = null, string?rootFolder = null) { TargetAssembly = AssemblyOptions.LoadAssembly(targetAssemblyName); DefaultNamespace = defaultNamespace; RootFolder = rootFolder; if (TargetAssembly is not null && string.IsNullOrWhiteSpace(DefaultNamespace)) { DefaultNamespace = TargetAssembly.GetName().Name; } }