Fork me on GitHub
Show / Hide Table of Contents

Class OpenGraphNamespace

An OpenGraph Namespace.

Inheritance
System.Object
OpenGraphNamespace
RegistryNamespace
Namespace: OpenGraphNet.Namespaces
Assembly: OpenGraphNet.dll
Syntax
public class OpenGraphNamespace : Object

Constructors

OpenGraphNamespace(String, String)

Initializes a new instance of the OpenGraphNamespace class.

Declaration
public OpenGraphNamespace(string prefix, string schemaUri)
Parameters
Type Name Description
System.String prefix

The prefix.

System.String schemaUri

The schema URI.

OpenGraphNamespace(String, Uri)

Initializes a new instance of the OpenGraphNamespace class.

Declaration
public OpenGraphNamespace(string prefix, Uri schemaUri)
Parameters
Type Name Description
System.String prefix

The prefix.

System.Uri schemaUri

The schema URI.

Properties

Empty

Gets an empty OpenGraph Namespace.

Declaration
public static OpenGraphNamespace Empty { get; }
Property Value
Type Description
OpenGraphNamespace

The empty.

Prefix

Gets the prefix.

Declaration
public string Prefix { get; }
Property Value
Type Description
System.String

The prefix.

SchemaUri

Gets the schema URI.

Declaration
public Uri SchemaUri { get; }
Property Value
Type Description
System.Uri

The schema URI.

Methods

ToString()

Returns a System.String that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
System.String

A System.String that represents this instance.

Back to top Copyright © 2021 - Geoff Horsey Mastodon