C# 클래스 Westwind.Web.Services.ShareButtons

Class that holds a few static string definitions for embedding Share on Google+ and Twitter
파일 보기 프로젝트 열기: RickStrahl/WestwindToolkit

공개 메소드들

메소드 설명
GooglePlusPlusOneButton ( string url = null, string buttonSize = "medium", int width = -1 ) : string

Places a Google+ +1 and Share button in the page

ShareOnFacebook ( string url ) : string
ShareOnFacebookFull ( string url ) : string
ShareOnTwitter ( string text, string twitterShareAccount = null, string url = null, string hashTag = null ) : string

Inserts a Tweet button to share tweet on Twitter with an image link

메소드 상세

GooglePlusPlusOneButton() 공개 정적인 메소드

Places a Google+ +1 and Share button in the page
public static GooglePlusPlusOneButton ( string url = null, string buttonSize = "medium", int width = -1 ) : string
url string The Url to share. If not provided the current page is used
buttonSize string small,medium,standard,tall
width int
리턴 string

ShareOnFacebook() 공개 정적인 메소드

public static ShareOnFacebook ( string url ) : string
url string
리턴 string

ShareOnFacebookFull() 공개 정적인 메소드

public static ShareOnFacebookFull ( string url ) : string
url string
리턴 string

ShareOnTwitter() 공개 정적인 메소드

Inserts a Tweet button to share tweet on Twitter with an image link
public static ShareOnTwitter ( string text, string twitterShareAccount = null, string url = null, string hashTag = null ) : string
text string The text to present
twitterShareAccount string
url string
hashTag string
리턴 string