Пример #1
0
 /// <summary>
 /// Return the RCW for the native IComWrapperFixed instance aggregating "managedObject"
 /// if there is one. Return "null" if "managedObject" is not aggregated.
 /// </summary>
 internal static IComWrapperFixed?TryGetWrapper(object managedObject)
 => WrapperPolicy.TryGetWrapper(managedObject);
Пример #2
0
 /// <summary>
 /// Return the RCW for the native IComWrapper instance aggregating "managedObject"
 /// if there is one. Return "null" if "managedObject" is not aggregated.
 /// </summary>
 internal static IComWrapper TryGetWrapper(object managedObject)
 {
     return(WrapperPolicy.TryGetWrapper(managedObject));
 }