remove trailing whitespace

This commit is contained in:
hawken
2019-01-07 23:27:46 +00:00
parent ba1794f64b
commit bd169e4fd4
290 changed files with 1708 additions and 1708 deletions

View File

@@ -61,7 +61,7 @@ namespace MediaBrowser.Model.Channels
/// </summary>
/// <value><c>true</c> if [supports latest media]; otherwise, <c>false</c>.</value>
public bool SupportsLatestMedia { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance can filter.
/// </summary>

View File

@@ -14,7 +14,7 @@ namespace MediaBrowser.Model.Channels
public bool? EnableImages { get; set; }
public int? ImageTypeLimit { get; set; }
public ImageType[] EnableImageTypes { get; set; }
/// <summary>
/// Gets or sets the user identifier.
/// </summary>

View File

@@ -40,7 +40,7 @@ namespace MediaBrowser.Model.Configuration
/// </summary>
/// <value>The cache path.</value>
public string CachePath { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="BaseApplicationConfiguration" /> class.
/// </summary>

View File

@@ -55,7 +55,7 @@ namespace MediaBrowser.Model.Dlna
/// </summary>
/// <value>The audio transcoding bitrate.</value>
public int? AudioTranscodingBitrate { get; set; }
/// <summary>
/// Gets the maximum bitrate.
/// </summary>

View File

@@ -9,7 +9,7 @@ namespace MediaBrowser.Model.Dlna
{
[XmlAttribute("type")]
public CodecType Type { get; set; }
public ProfileCondition[] Conditions { get; set; }
public ProfileCondition[] ApplyConditions { get; set; }

View File

@@ -98,7 +98,7 @@ namespace MediaBrowser.Model.Dlna
public bool IsVideoAudioConditionSatisfied(ProfileCondition condition,
int? audioChannels,
int? audioBitrate,
int? audioSampleRate,
int? audioSampleRate,
int? audioBitDepth,
string audioProfile,
bool? isSecondaryTrack)

View File

@@ -24,7 +24,7 @@ namespace MediaBrowser.Model.Dlna
public ProfileCondition(ProfileConditionType condition, ProfileConditionValue property, string value)
: this(condition, property, value, false)
{
}
public ProfileCondition(ProfileConditionType condition, ProfileConditionValue property, string value, bool isRequired)

View File

@@ -48,7 +48,7 @@ namespace MediaBrowser.Model.Dlna
if (subFactors.Length == 3)
{
if (StringHelper.EqualsIgnoreCase("upnp:class", subFactors[0]) &&
if (StringHelper.EqualsIgnoreCase("upnp:class", subFactors[0]) &&
(StringHelper.EqualsIgnoreCase("=", subFactors[1]) || StringHelper.EqualsIgnoreCase("derivedfrom", subFactors[1])))
{
if (StringHelper.EqualsIgnoreCase("\"object.item.imageItem\"", subFactors[2]) || StringHelper.EqualsIgnoreCase("\"object.item.imageItem.photo\"", subFactors[2]))

View File

@@ -11,7 +11,7 @@ namespace MediaBrowser.Model.Dlna
public SortCriteria(string value)
{
}
}
}

View File

@@ -951,7 +951,7 @@ namespace MediaBrowser.Model.Dlna
if (audioStream != null)
{
// Seeing webm encoding failures when source has 1 audio channel and 22k bitrate.
// Seeing webm encoding failures when source has 1 audio channel and 22k bitrate.
// Any attempts to transcode over 64k will fail
if (audioStream.Channels.HasValue &&
audioStream.Channels.Value == 1)

View File

@@ -46,7 +46,7 @@ namespace MediaBrowser.Model.Dto
/// </summary>
/// <value>The type of the source.</value>
public string SourceType { get; set; }
/// <summary>
/// Gets or sets the playlist item identifier.
/// </summary>

View File

@@ -18,7 +18,7 @@ namespace MediaBrowser.Model.Dto
/// </summary>
/// <value>The name.</value>
public string DisplayName { get; set; }
/// <summary>
/// Gets or sets the game count.
/// </summary>

View File

@@ -92,7 +92,7 @@ namespace MediaBrowser.Model.Dto
/// </summary>
/// <value>The un played count.</value>
public int? UnPlayedCount { get; set; }
/// <summary>
/// Gets or sets the color of the background.
/// </summary>

View File

@@ -5,7 +5,7 @@ namespace MediaBrowser.Model.Dto
{
public NameValuePair()
{
}
public NameValuePair(string name, string value)

View File

@@ -44,13 +44,13 @@ namespace MediaBrowser.Model.Dto
/// </summary>
/// <value>The type of the connect link.</value>
public UserLinkType? ConnectLinkType { get; set; }
/// <summary>
/// Gets or sets the id.
/// </summary>
/// <value>The id.</value>
public Guid Id { get; set; }
/// <summary>
/// Gets or sets the primary image tag.
/// </summary>

View File

@@ -420,7 +420,7 @@ namespace MediaBrowser.Model.Entities
var fromCodec = Codec;
// Can't convert from this
// Can't convert from this
if (StringHelper.EqualsIgnoreCase(fromCodec, "ass"))
{
return false;
@@ -430,7 +430,7 @@ namespace MediaBrowser.Model.Entities
return false;
}
// Can't convert to this
// Can't convert to this
if (StringHelper.EqualsIgnoreCase(toCodec, "ass"))
{
return false;

View File

@@ -18,7 +18,7 @@ namespace MediaBrowser.Model.Entities
{
return !string.IsNullOrEmpty(instance.GetProviderId(provider.ToString()));
}
/// <summary>
/// Gets a provider id
/// </summary>
@@ -65,7 +65,7 @@ namespace MediaBrowser.Model.Entities
{
throw new ArgumentNullException("instance");
}
// If it's null remove the key from the dictionary
if (string.IsNullOrEmpty(value))
{

View File

@@ -6,13 +6,13 @@ namespace MediaBrowser.Model.Extensions
{
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. All rights reserved.
//
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//
// http://www.apache.org/licenses/LICENSE-2.0
//
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

View File

@@ -37,7 +37,7 @@ namespace MediaBrowser.Model.LiveTv
/// </summary>
/// <value><c>true</c> if [enable favorite sorting]; otherwise, <c>false</c>.</value>
public bool EnableFavoriteSorting { get; set; }
/// <summary>
/// Gets or sets the user identifier.
/// </summary>

View File

@@ -28,7 +28,7 @@ namespace MediaBrowser.Model.Net
public HttpException(string message, Exception innerException)
: base(message, innerException)
{
}
/// <summary>

View File

@@ -21,7 +21,7 @@ namespace MediaBrowser.Model.Notifications
/// </summary>
/// <value><c>true</c> if enabled; otherwise, <c>false</c>.</value>
public bool Enabled { get; set; }
/// <summary>
/// Gets or sets the disabled services.
/// </summary>

View File

@@ -1,7 +1,7 @@
using System.Reflection;
using System.Resources;
// General Information about an assembly is controlled through the following
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MediaBrowser.Model")]
@@ -17,7 +17,7 @@ using System.Resources;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Minor Version
// Build Number
// Revision
//

View File

@@ -24,7 +24,7 @@ namespace MediaBrowser.Model.Providers
/// Gets a url used for previewing a smaller version
/// </summary>
public string ThumbnailUrl { get; set; }
/// <summary>
/// Gets or sets the height.
/// </summary>

View File

@@ -7,7 +7,7 @@
public ThemeMediaResult ThemeSongsResult { get; set; }
public ThemeMediaResult SoundtrackSongsResult { get; set; }
public AllThemeMediaResult()
{
ThemeVideosResult = new ThemeMediaResult();

View File

@@ -53,7 +53,7 @@ namespace MediaBrowser.Model.Querying
/// </summary>
/// <value>The start item identifier.</value>
public string StartItemId { get; set; }
public EpisodeQuery()
{
Fields = new ItemFields[] { };

View File

@@ -41,7 +41,7 @@
/// The custom rating
/// </summary>
CustomRating,
/// <summary>
/// The date created of the item
/// </summary>

View File

@@ -16,13 +16,13 @@ namespace MediaBrowser.Model.Querying
/// </summary>
/// <value>The parent identifier.</value>
public string ParentId { get; set; }
/// <summary>
/// Gets or sets the series id.
/// </summary>
/// <value>The series id.</value>
public string SeriesId { get; set; }
/// <summary>
/// Skips over a given number of items within the results. Use for paging.
/// </summary>

View File

@@ -14,7 +14,7 @@ namespace MediaBrowser.Model.Search
public Guid ItemId { get; set; }
public Guid Id { get; set; }
/// <summary>
/// Gets or sets the name.
/// </summary>
@@ -26,7 +26,7 @@ namespace MediaBrowser.Model.Search
/// </summary>
/// <value>The matched term.</value>
public string MatchedTerm { get; set; }
/// <summary>
/// Gets or sets the index number.
/// </summary>
@@ -38,7 +38,7 @@ namespace MediaBrowser.Model.Search
/// </summary>
/// <value>The production year.</value>
public int? ProductionYear { get; set; }
/// <summary>
/// Gets or sets the parent index number.
/// </summary>
@@ -74,7 +74,7 @@ namespace MediaBrowser.Model.Search
/// </summary>
/// <value>The backdrop image item identifier.</value>
public string BackdropImageItemId { get; set; }
/// <summary>
/// Gets or sets the type.
/// </summary>
@@ -82,13 +82,13 @@ namespace MediaBrowser.Model.Search
public string Type { get; set; }
public bool? IsFolder { get; set; }
/// <summary>
/// Gets or sets the run time ticks.
/// </summary>
/// <value>The run time ticks.</value>
public long? RunTimeTicks { get; set; }
/// <summary>
/// Gets or sets the type of the media.
/// </summary>

View File

@@ -34,7 +34,7 @@ namespace MediaBrowser.Model.Serialization
/// <param name="file">The file.</param>
/// <returns>System.Object.</returns>
object DeserializeFromFile(Type type, string file);
/// <summary>
/// Deserializes from bytes.
/// </summary>

View File

@@ -16,7 +16,7 @@ namespace MediaBrowser.Model.Services
public string ParameterType { get; set; }
/// <summary>
/// Gets or sets unique name for the parameter. Each name must be unique, even if they are associated with different paramType values.
/// Gets or sets unique name for the parameter. Each name must be unique, even if they are associated with different paramType values.
/// </summary>
/// <remarks>
/// <para>
@@ -49,7 +49,7 @@ namespace MediaBrowser.Model.Services
public bool AllowMultiple { get; set; }
/// <summary>
/// Gets or sets route to which applies attribute, matches using StartsWith. By default applies to all routes.
/// Gets or sets route to which applies attribute, matches using StartsWith. By default applies to all routes.
/// </summary>
public string Route { get; set; }

View File

@@ -4,7 +4,7 @@ namespace MediaBrowser.Model.Services
public interface IHasRequestFilter
{
/// <summary>
/// Order in which Request Filters are executed.
/// Order in which Request Filters are executed.
/// &lt;0 Executed before global request filters
/// &gt;0 Executed after global request filters
/// </summary>

View File

@@ -17,7 +17,7 @@ namespace MediaBrowser.Model.Services
void SetCookie(Cookie cookie);
/// <summary>
/// Removes all pending Set-Cookie instructions
/// Removes all pending Set-Cookie instructions
/// </summary>
void ClearCookies();
}

View File

@@ -25,7 +25,7 @@ namespace MediaBrowser.Model.Session
/// </summary>
/// <value>The item identifier.</value>
public Guid ItemId { get; set; }
/// <summary>
/// Gets or sets the session id.
/// </summary>

View File

@@ -17,7 +17,7 @@ namespace MediaBrowser.Model.System
public string OperatingSystemDisplayName { get; set; }
public string PackageName { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance has pending restart.
/// </summary>

View File

@@ -52,7 +52,7 @@ namespace MediaBrowser.Model.Tasks
void QueueIfNotRunning<T>()
where T : IScheduledTask;
/// <summary>
/// Queues the scheduled task.
/// </summary>
@@ -69,7 +69,7 @@ namespace MediaBrowser.Model.Tasks
void Execute<T>()
where T : IScheduledTask;
event EventHandler<GenericEventArgs<IScheduledTaskWorker>> TaskExecuting;
event EventHandler<TaskCompletionEventArgs> TaskCompleted;

View File

@@ -36,7 +36,7 @@ namespace MediaBrowser.Model.Tasks
/// </summary>
/// <value>The key.</value>
public string Key { get; set; }
/// <summary>
/// Gets or sets the id.
/// </summary>

View File

@@ -164,7 +164,7 @@ namespace MediaBrowser.Model.Updates
/// </summary>
/// <value>The installs.</value>
public int installs { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="PackageInfo"/> class.
/// </summary>