public AssemblyNamespaceIsland(
            AssemblyIsland assembly, AssemblyNamespaceIsland parentNamespace, string name,
            Func<AssemblyNamespaceIsland, IEnumerable<TypeIsland>> getTypes,
            Func<AssemblyNamespaceIsland, Size> getDesiredSize,
            Func<AssemblyNamespaceIsland, Point> getRelativePosition)
        {
            this.m_Assembly = assembly;
            this.m_ParentNamespace = parentNamespace;
            this.m_Name = name;

            this.m_Types = getTypes(this).ToReadOnlyCollectionOrNull();

            this.m_DesiredSize = getDesiredSize(this);

            this.m_RelativePosition = getRelativePosition(this);
        }
Esempio n. 2
0
 static Size CalcAssemblySize(AssemblyIsland assembly)
 {
     throw new NotImplementedException();
 }
 static Size CalcAssemblySize(AssemblyIsland assembly)
 {
     throw new NotImplementedException();
 }