C# Class SimpleMvcSitemap.Videos.SitemapVideo

Encloses all information about the video.
ファイルを表示 Open project: uhaciogullari/SimpleMvcSitemap

Private Properties

Property Type Description
SitemapVideo System

Public Methods

Method Description
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

Private Methods

Method Description
SitemapVideo ( ) : System

Method Details

ShouldSerializeDuration() public method

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

ShouldSerializeExpirationDate() public method

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

ShouldSerializeFamilyFriendly() public method

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

ShouldSerializeLive() public method

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

ShouldSerializePublicationDate() public method

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

ShouldSerializeRating() public method

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

ShouldSerializeRequiresSubscription() public method

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

ShouldSerializeViewCount() public method

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

SitemapVideo() public method

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.
return System

SitemapVideo() public method

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.
return System