Is there a way I can write C# code that will give me a list of class names when I provide the function with a parent class name?
For example if I have the following:
.icon1 {
content: "\e900";
}
I want to parse in icon1 as a parameter in a function to find the paths which can then be returned as a list in C#:
For example if the following exist on the CSS file:
.icon1 .path1:before {
content: "\e901";
}
.icon1 .path2:before {
content: "\e901";
}
I essentially want to return the 2nd class name. In this case it would be a list of names like path1 and path2.