Bickle.ReflectionWrapping.ExampleTranslator.Translate C# (CSharp) Méthode

Translate() public méthode

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