public void mergeTo(StyleExtensionMapEntry entry) { foreach (var extensionType in hashMap) { entry.addExtensionType(extensionType, hashMap[extensionType]); } }
public StyleExtensionMapEntry clone() { var newEntry = new StyleExtensionMapEntry(); mergeTo(newEntry); return(newEntry); }
public StyleExtensionMapEntry clone() { var newEntry = new StyleExtensionMapEntry(); mergeTo( newEntry ); return newEntry; }
public void addCSSEntry(JsString cssSelector, JsString extensionType, JsString extensionValue ) { StyleExtensionMapEntry attributes = hashMap[cssSelector]; if (attributes == null) { attributes = new StyleExtensionMapEntry(); hashMap[cssSelector] = attributes; } attributes.addExtensionType(extensionType, extensionValue); }
public void addBehaviorEntry(JsString cssClassName, JsString behaviorType, JsString className ) { StyleExtensionMapEntry attributes = hashMap[cssClassName]; if (attributes == null) { attributes = new StyleExtensionMapEntry(); hashMap[cssClassName] = attributes; } attributes.addExtensionType(behaviorType, className); }
public void addCSSEntry(JsString cssSelector, JsString extensionType, JsString extensionValue) { StyleExtensionMapEntry attributes = hashMap[cssSelector]; if (attributes == null) { attributes = new StyleExtensionMapEntry(); hashMap[cssSelector] = attributes; } attributes.addExtensionType(extensionType, extensionValue); }
public void mergeTo( StyleExtensionMapEntry entry ) { foreach (var extensionType in hashMap) { entry.addExtensionType(extensionType, hashMap[extensionType]); } }