Skip to content

Commit

Permalink
- LogixContainer implements IList{T} and ICollection now. This slight…
Browse files Browse the repository at this point in the history
…ly changes the API.

- LogixObject{T}, LogixComponent{T} created and add ILogixParsable{T} making all components and some elements able to be parsed dynamically using LogixParser extensions.
- Update TagName Concat to reduce memory consumption.
- Added methods to AddOnInstruction for generating NeutralText and Instruction instances.
- Docs and tests updates.
- Incrementing version.
  • Loading branch information
tnunnink committed Jun 3, 2024
1 parent f7b464b commit e73f2e0
Show file tree
Hide file tree
Showing 32 changed files with 576 additions and 138 deletions.
93 changes: 82 additions & 11 deletions src/.idea/.idea.L5Sharp/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/L5Sharp.Core/Common/TagName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ public static TagName Concat(string left, string right)
if (string.IsNullOrEmpty(right)) return left;

if (right[0] == ArrayOpenSeparator || right[0] == MemberSeparator)
return new TagName($"{left}{right}");
return new TagName(left + right);

return new TagName($"{left}{MemberSeparator}{right}");
return new TagName(left + MemberSeparator + right);
}

/// <summary>
Expand Down
Loading

0 comments on commit e73f2e0

Please sign in to comment.