FlowR.Core/Utils.cs
/// <summary>
///     Return a first css string purged from second css string   
/// </summary>
/// <param name="a"></param>
/// <param name="b"></param>
/// <returns></returns>
Return a first css string purged from second css string
Return a first css string purged from second css string
public static string RemoveCss(string a, string b)
            {                
                List<string> main = GetListFromString(a);
                List<string> toRemove = GetListFromString(b);
                foreach(var str in toRemove)
                {
                    main.RemoveAll(s => s == str);
                }
                return GetStringFromList(main);
            }
public static string RemoveCss ( string a , string b ) { List < string > main = GetListFromString ( a ) ; List < string > toRemove = GetListFromString ( b ) ; foreach ( var str in toRemove ) { main . RemoveAll ( s => s == str ) ; } return GetStringFromList ( main ) ; }
Return a first css string purged from second css string
Return a first css string purged from second css string
None
a
string
None
b
string
None