Beispiel #1
0
 public virtual object InstantiateTransient(UnmarshallingContext context)
 {
     // overridden in YapClassPrimitive
     // never called for primitive YapAny
     var obj = InstantiateObject(context);
     if (obj == null)
     {
         return null;
     }
     context.Container().Peeked(context.ObjectId(), obj);
     if (context.ActivationDepth().RequiresActivation())
     {
         InstantiateFields(context);
     }
     return obj;
 }