aboutsummaryrefslogtreecommitdiff
path: root/csharp/ProtocolBuffers/Delegates.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/ProtocolBuffers/Delegates.cs')
-rw-r--r--csharp/ProtocolBuffers/Delegates.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/csharp/ProtocolBuffers/Delegates.cs b/csharp/ProtocolBuffers/Delegates.cs
new file mode 100644
index 00000000..2aa440b1
--- /dev/null
+++ b/csharp/ProtocolBuffers/Delegates.cs
@@ -0,0 +1,8 @@
+using System.IO;
+namespace Google.ProtocolBuffers {
+
+ /// <summary>
+ /// Delegate to return a stream when asked, used by MessageStreamIterator.
+ /// </summary>
+ public delegate Stream StreamProvider();
+}