Пример #1
0
        public ConfigureResult Configure(ConfigureInput input)
        {
            var result = new ConfigureResult();

            if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
            {
                result.Error("This resource is only compatible with Windows.");
            }

            return(result);
        }