Esempio n. 1
0
 public static IConnectibleProperty <TValue> TryGetConnectedProperty <TValue, TTag>(this object carrier, bool bypassValidation)
 {
     Contract.Requires(carrier != null);
     return(ConnectibleProperty <TValue> .TryCastFrom(Connector.TryGet <TTag>(carrier, bypassValidation)));
 }
Esempio n. 2
0
 public static IConnectibleProperty <dynamic> TryGetConnectedProperty(this object carrier, string name, bool bypassValidation = false)
 {
     Contract.Requires(carrier != null);
     return(Connector.TryGet(carrier, name ?? Unnamed, bypassValidation));
 }