public AssemblySpecificNaming(string namespaceName, string securityDescriptor, Assembly assembly) { this.namespaceName = namespaceName; this.securityDescriptor = securityDescriptor; this.decoupledProviderInstanceName = AssemblyNameUtility.UniqueToAssemblyMinorVersion(assembly); this.assemblyUniqueIdentifier = AssemblyNameUtility.UniqueToAssemblyBuild(assembly); this.assemblyName = assembly.GetName().FullName; this.assemblyPath = assembly.Location; }
private SchemaNaming(string namespaceName, string securityDescriptor, Assembly assembly) { this.assembly = assembly; this.assemblyInfo = new AssemblySpecificNaming(namespaceName, securityDescriptor, assembly); if (!DoesInstanceExist(this.RegistrationPath)) { this.assemblyInfo.DecoupledProviderInstanceName = AssemblyNameUtility.UniqueToAssemblyMinorVersion(assembly); } }