Пример #1
0
        public bool TryGetConvertedObject(ObjectData data, out object @object)
        {
            Ensure.Argument.NotNull(data, nameof(data));

            return(_dataToObject.TryGetValue(data, out @object));
        }
Пример #2
0
        public bool TryGetConvertedData(object @object, out ObjectData data)
        {
            Ensure.Argument.NotNull(@object, nameof(@object));

            return(_objectToData.TryGetValue(@object, out data));
        }