Skip to content

Commit

Permalink
format back
Browse files Browse the repository at this point in the history
  • Loading branch information
pk5ls20 committed Nov 21, 2024
1 parent 7244936 commit cebf573
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions Lagrange.Core/Message/Entity/XmlEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,11 @@ public class XmlEntity : IMessageEntity

public int ServiceId { get; set; } = 35;

public XmlEntity()
{
Xml = "";
}
public XmlEntity() => Xml = "";

public XmlEntity(string xml)
{
Xml = xml;
}
public XmlEntity(string xml) => Xml = xml;

public XmlEntity(string xml, int serviceId)
{
Xml = xml;
ServiceId = serviceId;
}
public XmlEntity(string xml, int serviceId) => (Xml, ServiceId) = (xml, serviceId);

IEnumerable<Elem> IMessageEntity.PackElement()
{
Expand Down

0 comments on commit cebf573

Please sign in to comment.