Microsoft.AspNet.WebHooks.WebHookReceiverConfig.GetConfigKey C# (CSharp) Méthode

GetConfigKey() static private méthode

static private GetConfigKey ( string receiver, string id ) : string
receiver string
id string
Résultat string
        internal static string GetConfigKey(string receiver, string id)
        {
            return (receiver + "/" + id).ToLowerInvariant();
        }
    }

Usage Example

Exemple #1
0
        public void GetConfigKey(string receiver, string id, string expected)
        {
            // Act
            string actual = WebHookReceiverConfig.GetConfigKey(receiver, id);

            // Assert
            Assert.Equal(expected, actual);
        }