C# 클래스 SimpleMvcSitemap.Videos.SitemapVideo

Encloses all information about the video.
파일 보기 프로젝트 열기: uhaciogullari/SimpleMvcSitemap

Private Properties

프로퍼티 타입 설명
SitemapVideo System

공개 메소드들

메소드 설명
ShouldSerializeDuration ( ) : bool

Used for not serializing null values.

ShouldSerializeExpirationDate ( ) : bool

Used for not serializing null values.

ShouldSerializeFamilyFriendly ( ) : bool

Used for not serializing null values.

ShouldSerializeLive ( ) : bool

Used for not serializing null values.

ShouldSerializePublicationDate ( ) : bool

Used for not serializing null values.

ShouldSerializeRating ( ) : bool

Used for not serializing null values.

ShouldSerializeRequiresSubscription ( ) : bool

Used for not serializing null values.

ShouldSerializeViewCount ( ) : bool

Used for not serializing null values.

SitemapVideo ( string title, string description, string thumbnailUrl, VideoPlayer player ) : System

Creates an instance of SitemapVideo

SitemapVideo ( string title, string description, string thumbnailUrl, string contentUrl ) : System

Creates an instance of SitemapVideo

비공개 메소드들

메소드 설명
SitemapVideo ( ) : System

메소드 상세

ShouldSerializeDuration() 공개 메소드

Used for not serializing null values.
public ShouldSerializeDuration ( ) : bool
리턴 bool

ShouldSerializeExpirationDate() 공개 메소드

Used for not serializing null values.
public ShouldSerializeExpirationDate ( ) : bool
리턴 bool

ShouldSerializeFamilyFriendly() 공개 메소드

Used for not serializing null values.
public ShouldSerializeFamilyFriendly ( ) : bool
리턴 bool

ShouldSerializeLive() 공개 메소드

Used for not serializing null values.
public ShouldSerializeLive ( ) : bool
리턴 bool

ShouldSerializePublicationDate() 공개 메소드

Used for not serializing null values.
public ShouldSerializePublicationDate ( ) : bool
리턴 bool

ShouldSerializeRating() 공개 메소드

Used for not serializing null values.
public ShouldSerializeRating ( ) : bool
리턴 bool

ShouldSerializeRequiresSubscription() 공개 메소드

Used for not serializing null values.
public ShouldSerializeRequiresSubscription ( ) : bool
리턴 bool

ShouldSerializeViewCount() 공개 메소드

Used for not serializing null values.
public ShouldSerializeViewCount ( ) : bool
리턴 bool

SitemapVideo() 공개 메소드

Creates an instance of SitemapVideo
public SitemapVideo ( string title, string description, string thumbnailUrl, VideoPlayer player ) : System
title string The title of the video. Maximum 100 characters.
description string The description of the video. Maximum 2048 characters.
thumbnailUrl string
player VideoPlayer A URL pointing to a player for a specific video.
리턴 System

SitemapVideo() 공개 메소드

Creates an instance of SitemapVideo
public SitemapVideo ( string title, string description, string thumbnailUrl, string contentUrl ) : System
title string The title of the video. Maximum 100 characters.
description string The description of the video. Maximum 2048 characters.
thumbnailUrl string
contentUrl string A URL pointing to the actual video media file. /// This file should be in .mpg, .mpeg, .mp4, .m4v, .mov, .wmv, .asf, .avi, .ra, .ram, .rm, .flv, or other video file format.
리턴 System