Bridge.React.Style.MergeWith C# (CSharp) Метод

MergeWith() публичный статический Метод

public static MergeWith ( this source, ReactStyle other ) : ReactStyle
source this
other ReactStyle
Результат ReactStyle
        public static ReactStyle MergeWith(this ReactStyle source, ReactStyle other)
        {
            var merged = Script.Write<ReactStyle>("{ }");
            /*@
            if (source) {
                for (var i in source) {
                    merged[i] = source[i];
                }
            }
            if (other) {
                for (var i in other) {
                    merged[i] = other[i];
                }
            }
            */
            return merged;
        }