/// <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; }
/// <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); }