C# Class Telerik.Web.Mvc.Extensions.DictionaryExtensions

Contains extension methods of IDictionary<string, objectT>.
Show file Open project: juanplopes/simple-telerik

Public Methods

Method Description
AddStyleAttribute ( object>.this instance, string key, string value ) : void
AppendInValue ( object>.this instance, string key, string separator, object value ) : void

Appends the in value.

Merge ( object>.this instance, object>.IDictionary from, bool replaceExisting ) : void

Merges the specified instance.

Merge ( object>.this instance, string key, object value, bool replaceExisting ) : void

Merges the specified instance.

PrependInValue ( object>.this instance, string key, string separator, object value ) : void

Appends the specified value at the beginning of the existing value

ToAttributeString ( object>.this instance ) : string

Toes the attribute string.

Private Methods

Method Description
Merge ( object>.this instance, object>.IDictionary from ) : void
Merge ( object>.this instance, object values ) : void
Merge ( object>.this instance, object values, bool replaceExisting ) : void

Method Details

AddStyleAttribute() public static method

public static AddStyleAttribute ( object>.this instance, string key, string value ) : void
instance object>.this
key string
value string
return void

AppendInValue() public static method

Appends the in value.
public static AppendInValue ( object>.this instance, string key, string separator, object value ) : void
instance object>.this The instance.
key string The key.
separator string The separator.
value object The value.
return void

Merge() public static method

Merges the specified instance.
public static Merge ( object>.this instance, object>.IDictionary from, bool replaceExisting ) : void
instance object>.this The instance.
from object>.IDictionary From.
replaceExisting bool if set to true [replace existing].
return void

Merge() public static method

Merges the specified instance.
public static Merge ( object>.this instance, string key, object value, bool replaceExisting ) : void
instance object>.this The instance.
key string The key.
value object The value.
replaceExisting bool if set to true [replace existing].
return void

PrependInValue() public static method

Appends the specified value at the beginning of the existing value
public static PrependInValue ( object>.this instance, string key, string separator, object value ) : void
instance object>.this
key string
separator string
value object
return void

ToAttributeString() public static method

Toes the attribute string.
public static ToAttributeString ( object>.this instance ) : string
instance object>.this The instance.
return string