Exemplo n.º 1
0
        /// <summary>
        /// Create a query object for assembly data from collected assembly data.
        /// </summary>
        /// <param name="assemblyData">Collected assembly data.</param>
        public AssemblyData(Data.AssemblyData assemblyData)
        {
            AssemblyName = new AssemblyNameData(assemblyData.AssemblyName);

            if (assemblyData.Types != null)
            {
                _types = new Lazy <IReadOnlyDictionary <string, IReadOnlyDictionary <string, TypeData> > >(() => CreateTypeDictionary(assemblyData.Types));
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// Create a query object for assembly data from collected assembly data.
        /// </summary>
        /// <param name="assemblyData">Collected assembly data.</param>
        public AssemblyData(Data.AssemblyData assemblyData)
        {
            AssemblyName = new AssemblyNameData(assemblyData.AssemblyName);

            if (assemblyData.Types != null)
            {
                Types = CreateTypeDictionary(assemblyData.Types);
            }
        }