Esempio n. 1
0
 public static IEnumerable <object> Source()
 {
     return(new object[]
     {
         ObscureObject.GetPropertyPublicObject(),
         ObscureObject.GetPropertyInternalObject(),
         ObscureObject.GetPropertyPrivateObject()
     });
 }
Esempio n. 2
0
 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>()
     });
 }