C# Class BlogSharp.Core.Impl.Plugins.Pingback.PingbackService

Inheritance: IPingbackService
ファイルを表示 Open project: BlogSharp/Blogsharp

Public Properties

Property Type Description
UriRegEx Regex

Public Methods

Method Description
HandleNewPost ( PostAddedEventArgs eventArgs ) : void
PingbackService ( IPostService postService, IHttpClient httpClient ) : System
ProcessPingback ( Uri sourceUri, Uri destinationUri ) : void
ProcessPingback ( string sourceUri, string destinationUri ) : void
SendPingback ( Uri pingbackUri, Uri sourceUri, Uri targetUri ) : void
SendPingback ( string pingbackUri, string sourceUri, string targetUri ) : void

Protected Methods

Method Description
ExtractUrls ( string text ) : string[]
GetPingbackUrl ( string link ) : string
ProcessLink ( string link ) : void

Method Details

ExtractUrls() protected method

protected ExtractUrls ( string text ) : string[]
text string
return string[]

GetPingbackUrl() protected method

protected GetPingbackUrl ( string link ) : string
link string
return string

HandleNewPost() public method

public HandleNewPost ( PostAddedEventArgs eventArgs ) : void
eventArgs PostAddedEventArgs
return void

PingbackService() public method

public PingbackService ( IPostService postService, IHttpClient httpClient ) : System
postService IPostService
httpClient IHttpClient
return System

ProcessLink() protected method

protected ProcessLink ( string link ) : void
link string
return void

ProcessPingback() public method

public ProcessPingback ( Uri sourceUri, Uri destinationUri ) : void
sourceUri System.Uri
destinationUri System.Uri
return void

ProcessPingback() public method

public ProcessPingback ( string sourceUri, string destinationUri ) : void
sourceUri string
destinationUri string
return void

SendPingback() public method

public SendPingback ( Uri pingbackUri, Uri sourceUri, Uri targetUri ) : void
pingbackUri System.Uri
sourceUri System.Uri
targetUri System.Uri
return void

SendPingback() public method

public SendPingback ( string pingbackUri, string sourceUri, string targetUri ) : void
pingbackUri string
sourceUri string
targetUri string
return void

Property Details

UriRegEx public_oe static_oe property

public static Regex UriRegEx
return Regex