コード例 #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));
            }
        }
コード例 #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);
            }
        }