-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bb40aae
commit 1220563
Showing
3 changed files
with
28 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
src/DotNetWorker.Core/Converters/Converter/ConverterFallbackBehavior.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for license information. | ||
|
||
namespace Microsoft.Azure.Functions.Worker.Converters | ||
{ | ||
/// <summary> | ||
/// Specifies the fallback behavior for a converter. | ||
/// The default behavior is <see cref="ConverterFallbackBehavior.Allow"/>. | ||
/// </summary> | ||
public enum ConverterFallbackBehavior | ||
{ | ||
/// <summary> | ||
/// Allows fallback to built-in converters. This is the default behavior. | ||
/// </summary> | ||
Allow = 0, | ||
|
||
/// <summary> | ||
/// Disallows fallback to built-in converters. | ||
/// </summary> | ||
Disallow = 1, | ||
|
||
/// <summary> | ||
/// Specifies the default fallback behavior as <see cref="ConverterFallbackBehavior.Allow"/> | ||
/// </summary> | ||
Default = Allow | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters