question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The `Rules` property should be made public

See original GitHub issue

I want to be able to track each @import rule, while keeping the order of the other rules. To make things more clear - think of @import as a C++ macro command (which in sort it actually is); what I want is to be able to get the entire CSS text. For that I need the Rules property (which is currently internal) to be made public. Then I could traverse all the rules, write each “simple” rule to a StringBuilder (for instance), and for each @import rule I encounter I will call the same method recursively.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
JsAndDotNetcommented, Nov 27, 2018

@emiliano84 - Done. https://www.nuget.org/packages/ExCSS-Core/. Tried to contact @TylerBrinks via nuget and github, but no response. I would have preferred to be a contributer to this project than fork it.

2reactions
JsAndDotNetcommented, Sep 27, 2018

Just to add to this - there are a lot of classes that are currently internal that should be public.

This pull request Fixed: StyleRule didn’t implement interface IStyleRule seems to have everything needed.

Please can you merge and publish to NuGet. The current NuGet package is unusable for me.

V2 of the lib was brilliant. It would be good to get V3 to the same level. 😃

If you are short on time, I’d be happy to contribute.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Taking of Property for Public Use
It states "[N]or shall private property be taken for public use, without just compensation." The men who created the Constitution were, for the...
Read more >
eminent domain | Wex | US Law | LII / Legal Information Institute
Eminent domain refers to the power of the government to take private property and convert it into public use, referred to as a...
Read more >
Eminent Domain - The Basic Law
Property is said to be acquired when government encroaches on the land of a person for public purposes. When a government denies natural...
Read more >
Access to Public Property
The U.S. Constitution protects your right to speak and, in some instances, grants you a right to access public places to gather information....
Read more >
History Of The Federal Use Of Eminent Domain
The federal government's power of eminent domain has long been used in the United States to acquire property for public use.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found