Prebuild.Core.Kernel.CacheNodeTypes C# (CSharp) Method

CacheNodeTypes() private method

private CacheNodeTypes ( Assembly assm ) : void
assm System.Reflection.Assembly
return void
		private void CacheNodeTypes(Assembly assm)
		{
			foreach(Type t in assm.GetTypes())
			{
                foreach (DataNodeAttribute dna in t.GetCustomAttributes(typeof(DataNodeAttribute), true))
                {
                    NodeEntry ne = new NodeEntry();
                    ne.Type = t;
                    ne.Attribute = dna;
                    m_Nodes[dna.Name] = ne;
                }
			}
		}