diff --git a/ACadSharp/IO/DWG/DwgStreamReaders/DwgObjectReader.cs b/ACadSharp/IO/DWG/DwgStreamReaders/DwgObjectReader.cs index 84201bc0..b1de98a2 100644 --- a/ACadSharp/IO/DWG/DwgStreamReaders/DwgObjectReader.cs +++ b/ACadSharp/IO/DWG/DwgStreamReaders/DwgObjectReader.cs @@ -4600,7 +4600,7 @@ private CadTemplate readGroup() private CadTemplate readMLStyle() { MLineStyle mlineStyle = new MLineStyle(); - CadMLStyleTemplate template = new CadMLStyleTemplate(mlineStyle); + CadMLineStyleTemplate template = new CadMLineStyleTemplate(mlineStyle); this.readCommonNonEntityData(template); @@ -4652,7 +4652,7 @@ 1024 512 for (int i = 0; i < nlines; ++i) { MLineStyle.Element element = new MLineStyle.Element(); - CadMLStyleTemplate.ElementTemplate elementTemplate = new CadMLStyleTemplate.ElementTemplate(element); + CadMLineStyleTemplate.ElementTemplate elementTemplate = new CadMLineStyleTemplate.ElementTemplate(element); //Offset BD Offset of this segment element.Offset = this._objectReader.ReadBitDouble(); diff --git a/ACadSharp/IO/Templates/CadMLStyleTemplate.cs b/ACadSharp/IO/Templates/CadMLineStyleTemplate.cs similarity index 92% rename from ACadSharp/IO/Templates/CadMLStyleTemplate.cs rename to ACadSharp/IO/Templates/CadMLineStyleTemplate.cs index f09a4355..0fd4a938 100644 --- a/ACadSharp/IO/Templates/CadMLStyleTemplate.cs +++ b/ACadSharp/IO/Templates/CadMLineStyleTemplate.cs @@ -5,7 +5,7 @@ namespace ACadSharp.IO.Templates { - internal class CadMLStyleTemplate : CadTemplate + internal class CadMLineStyleTemplate : CadTemplate { public class ElementTemplate : ICadObjectTemplate { @@ -54,7 +54,7 @@ public void Build(CadDocumentBuilder builder) public List ElementTemplates { get; set; } = new List(); - public CadMLStyleTemplate(MLineStyle mlStyle) : base(mlStyle) { } + public CadMLineStyleTemplate(MLineStyle mlStyle) : base(mlStyle) { } public override void Build(CadDocumentBuilder builder) { diff --git a/ACadSharp/Objects/MLStyle.Element.cs b/ACadSharp/Objects/MLineStyle.Element.cs similarity index 100% rename from ACadSharp/Objects/MLStyle.Element.cs rename to ACadSharp/Objects/MLineStyle.Element.cs diff --git a/ACadSharp/Objects/MLStyle.cs b/ACadSharp/Objects/MLineStyle.cs similarity index 100% rename from ACadSharp/Objects/MLStyle.cs rename to ACadSharp/Objects/MLineStyle.cs