C# Class SimpleMvcSitemap.Videos.SitemapVideo

Encloses all information about the video.
Afficher le fichier Open project: uhaciogullari/SimpleMvcSitemap

Private Properties

Свойство Type Description
SitemapVideo System

Méthodes publiques

Méthode 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

Méthode Description
SitemapVideo ( ) : System

Method Details

ShouldSerializeDuration() public méthode

Used for not serializing null values.
public ShouldSerializeDuration ( ) : bool
Résultat bool

ShouldSerializeExpirationDate() public méthode

Used for not serializing null values.
public ShouldSerializeExpirationDate ( ) : bool
Résultat bool

ShouldSerializeFamilyFriendly() public méthode

Used for not serializing null values.
public ShouldSerializeFamilyFriendly ( ) : bool
Résultat bool

ShouldSerializeLive() public méthode

Used for not serializing null values.
public ShouldSerializeLive ( ) : bool
Résultat bool

ShouldSerializePublicationDate() public méthode

Used for not serializing null values.
public ShouldSerializePublicationDate ( ) : bool
Résultat bool

ShouldSerializeRating() public méthode

Used for not serializing null values.
public ShouldSerializeRating ( ) : bool
Résultat bool

ShouldSerializeRequiresSubscription() public méthode

Used for not serializing null values.
public ShouldSerializeRequiresSubscription ( ) : bool
Résultat bool

ShouldSerializeViewCount() public méthode

Used for not serializing null values.
public ShouldSerializeViewCount ( ) : bool
Résultat bool

SitemapVideo() public méthode

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.
Résultat System

SitemapVideo() public méthode

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.
Résultat System