public static IEnumerable <object> Source() { return(new object[] { ObscureObject.GetPropertyPublicObject(), ObscureObject.GetPropertyInternalObject(), ObscureObject.GetPropertyPrivateObject() }); }
public static IEnumerable <IMethodRunner> Proxies() { return(new IMethodRunner[] { ObscureObject.GetPropertyPublicObject().As <IMethodRunner>(), ObscureObject.GetPropertyInternalObject().As <IMethodRunner>(), ObscureObject.GetPropertyPrivateObject().As <IMethodRunner>() }); }
public static IEnumerable <IObscureDuckType> Proxies() { return(new IObscureDuckType[] { ObscureObject.GetPropertyPublicObject().As <IObscureDuckType>(), ObscureObject.GetPropertyInternalObject().As <IObscureDuckType>(), ObscureObject.GetPropertyPrivateObject().As <IObscureDuckType>() }); }