コード例 #1
0
 /// <summary>
 /// Get the unique instance. </summary>
 /// <param name="context"> any valid context </param>
 public static EngagementAgent getInstance(Context context)
 {
     lock (typeof(EngagementAgent))
     {
         /* Always check this even if we instantiate once to trigger null pointer in all cases */
         if (sInstance == null)
         {
             sInstance = new EngagementAgent(context.ApplicationContext);
         }
         return(sInstance);
     }
 }
コード例 #2
0
 public OnSharedPreferenceChangeListenerAnonymousInnerClassHelper(EngagementAgent outerInstance)
 {
     this.outerInstance = outerInstance;
 }
コード例 #3
0
 public CrashHandler(EngagementAgent outerInstance)
 {
     this.outerInstance = outerInstance;
 }