Пример #1
0
 // interface list explicitly defined
 public AggregatedWrapper(Type[] supportedTypes)
 {
     _aggregatedObjectPtr = AggregationHelper.CreateAggregatedWrapper(this, supportedTypes);
 }
Пример #2
0
 // no explicit interface list defined, so use our implemented interfaces list
 public AggregatedWrapper()
 {
     _aggregatedObjectPtr = AggregationHelper.CreateAggregatedWrapper(this, GetType().GetInterfaces());
 }