/// <summary>
 /// Create a query object for assembly name information from collected assembly name data.
 /// </summary>
 /// <param name="assemblyNameData">Collected assembly name data object.</param>
 public AssemblyNameData(AsmNameDataMut assemblyNameData)
 {
     Name           = assemblyNameData.Name;
     Version        = assemblyNameData.Version;
     Culture        = assemblyNameData.Culture;
     PublicKeyToken = assemblyNameData.PublicKeyToken;
     _fullName      = new Lazy <string>(GetFullName);
     _assemblyName  = new Lazy <AssemblyName>(() => new AssemblyName(FullName));
 }
Esempio n. 2
0
 /// <summary>
 /// Create a query object for assembly name information from collected assembly name data.
 /// </summary>
 /// <param name="assemblyNameData">Collected assembly name data object.</param>
 public AssemblyNameData(AsmNameDataMut assemblyNameData)
 {
     _assemblyNameData = assemblyNameData;
     _fullName         = new Lazy <string>(GetFullName);
     _assemblyName     = new Lazy <AssemblyName>(() => new AssemblyName(FullName));
 }