This file contains hidden or 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
namespace Example | |
{ | |
public static class SeparatorConstants | |
{ | |
public const char FileSeparator = (char)0x1c; | |
public const char GroupSeparator = (char)0x1d; | |
public const char RecordSeparator = (char)0x1e; | |
public const char UnitSeparator = (char)0x1f; | |
} | |
} |
This file contains hidden or 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
using System; | |
using Microsoft.AspNetCore.Http; | |
using Microsoft.AspNetCore.Mvc; | |
using Microsoft.AspNetCore.Mvc.Filters; | |
namespace Example.AspNetCore.Mvc | |
{ | |
/// <summary> | |
/// An authorization filter that confirms requests are received over HTTPS. | |
/// </summary> |
This file contains hidden or 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
using System; | |
using System.ComponentModel.DataAnnotations; | |
using System.Globalization; | |
using System.Linq; | |
using System.Reflection; | |
namespace Example | |
{ | |
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)] | |
public class CompareToAttribute : ValidationAttribute |
OlderNewer