Exemple #1
0
        public static ConfigurationValue FromKey(IKeyPair keyPair)
        {
            var bytes = keyPair.AsBinaryData();

            return(new ConfigurationValue
            {
                Type = ConfigurationValueType.Bytes,
                BytesValue = bytes,
                Value = bytes
            });
        }