Class MetaExtensions
Meta tag rendering extensions
Inheritance
System.Object
MetaExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Framework.Web.Mvc.Html
Assembly: EPiServer.Framework.dll
Version: 8.11.0Syntax
public static class MetaExtensions
Methods
RenderMeta(IDictionary<String, Object>)
Renders the metadata tag.
Declaration
public static string RenderMeta(IDictionary<string, object> metaAttributes)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | metaAttributes | The metadata tag attributes. |
Returns
Type | Description |
---|---|
System.String |
RenderMeta(Object)
Renders the metadata tag.
Declaration
public static string RenderMeta(object metaAttributes)
Parameters
Type | Name | Description |
---|---|---|
System.Object | metaAttributes | The metadata tag attributes. |
Returns
Type | Description |
---|---|
System.String |
RenderMeta(String, IDictionary<String, Object>)
Renders the metadata tag.
Declaration
public static string RenderMeta(string name, IDictionary<string, object> contentAttributeValues)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name attribute value. |
System.Collections.Generic.IDictionary<System.String, System.Object> | contentAttributeValues | The content attribute values. |
Returns
Type | Description |
---|---|
System.String |
RenderMeta(String, Object)
Renders the metadata tag.
Declaration
public static string RenderMeta(string name, object contentAttributeValues)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name attribute value. |
System.Object | contentAttributeValues | The content attribute values. |
Returns
Type | Description |
---|---|
System.String |