Bickle.ReflectionWrapping.ExampleTranslator.Translate C# (CSharp) Method

Translate() public method

public Translate ( object ex ) : IExample
ex object
return IExample
        public IExample Translate(object ex)
        {
            var id = (string)ex.GetPropertyWithReflection("Id");
            return (IExample)_spec.Find(id);
        }