/// <summary>
 /// Returns an instance of the custom marshaled
 /// </summary>
 /// <param name="cookie"></param>
 /// <returns></returns>
 public static ICustomMarshaler GetInstance(string cookie)
 {
     // Always return the same instance
     if (marshaler == null)
         marshaler = new StreamMarshaler();
     return marshaler;
 }
Пример #2
0
 /// <summary>
 /// Returns an instance of the custom marshaled
 /// </summary>
 /// <param name="cookie"></param>
 /// <returns></returns>
 public static ICustomMarshaler GetInstance(string cookie)
 {
     // Always return the same instance
     if (marshaler == null)
     {
         marshaler = new StreamMarshaler();
     }
     return(marshaler);
 }