mirror of https://github.com/SixLabors/ImageSharp
2 changed files with 18 additions and 19 deletions
@ -1,19 +0,0 @@ |
|||||
// Copyright (c) Six Labors and contributors.
|
|
||||
// Licensed under the Apache License, Version 2.0.
|
|
||||
|
|
||||
namespace SixLabors.ImageSharp.Advanced |
|
||||
{ |
|
||||
/// <summary>
|
|
||||
/// Extension methods over <see cref="IConfigurable"/>
|
|
||||
/// </summary>
|
|
||||
internal static partial class IConfigurableExtensions |
|
||||
{ |
|
||||
/// <summary>
|
|
||||
/// Gets the configuration.
|
|
||||
/// </summary>
|
|
||||
/// <param name="self">The configurable</param>
|
|
||||
/// <returns>Returns the configuration.</returns>
|
|
||||
public static Configuration GetConfiguration(this IConfigurable self) |
|
||||
=> self?.Configuration ?? Configuration.Default; |
|
||||
} |
|
||||
} |
|
||||
Loading…
Reference in new issue