Bickle.ReflectionWrapping.ExampleTranslator.Translate C# (CSharp) 메소드

Translate() 공개 메소드

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