C# Class Ramone.MediaTypes.Atom.AtomLink

Represents an ATOM feed link.
Is similar to .NET's built in SyndicationItem, but this one is XML serializable as a ATOM link.
Inheritance: Ramone.HyperMedia.SelectableBase, ISessionLink, IHaveContext
显示文件 Open project: JornWildt/Ramone Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AtomLink ( ) : System
AtomLink ( Uri href, string relationType, MediaType mediaType, string title ) : System

Create ATOM link from absolute or relative URI.

AtomLink ( Uri baseUrl, string href, string relationType, MediaType mediaType, string title ) : System

Create ATOM link from base URI and path.

AtomLink ( string href, string relationType, MediaType mediaType, string title ) : System

Create ATOM link from relative path or absolute URI.

RegisterContext ( ISession session, Uri baseUrl ) : void

Method Details

AtomLink() public method

public AtomLink ( ) : System
return System

AtomLink() public method

Create ATOM link from absolute or relative URI.
public AtomLink ( Uri href, string relationType, MediaType mediaType, string title ) : System
href System.Uri
relationType string
mediaType MediaType
title string
return System

AtomLink() public method

Create ATOM link from base URI and path.
public AtomLink ( Uri baseUrl, string href, string relationType, MediaType mediaType, string title ) : System
baseUrl System.Uri Base URI - can be null
href string
relationType string
mediaType MediaType
title string
return System

AtomLink() public method

Create ATOM link from relative path or absolute URI.
public AtomLink ( string href, string relationType, MediaType mediaType, string title ) : System
href string
relationType string
mediaType MediaType
title string
return System

RegisterContext() public method

public RegisterContext ( ISession session, Uri baseUrl ) : void
session ISession
baseUrl System.Uri
return void