コード例 #1
0
 public TypeIsland(
     AssemblyNamespaceIsland @namespace, string name, IEnumerable<CodeLine> lines,
     Func<TypeIsland, Point> getRelativePosition)
 {
     this.m_Namespace = @namespace;
     this.m_Name = name;
     this.m_Lines = lines.ToReadOnlyCollectionOrNull();
     this.m_RelativePosition = getRelativePosition(this);
 }
コード例 #2
0
 public TypeIsland(
     AssemblyNamespaceIsland @namespace, string name, IEnumerable <CodeLine> lines,
     Func <TypeIsland, Point> getRelativePosition)
 {
     this.m_Namespace        = @namespace;
     this.m_Name             = name;
     this.m_Lines            = lines.ToReadOnlyCollectionOrNull();
     this.m_RelativePosition = getRelativePosition(this);
 }
        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);
        }
コード例 #4
0
        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);
        }