forked from ServiceStackV3/ServiceStack.Contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJsDelegates.cs
More file actions
32 lines (24 loc) · 1015 Bytes
/
Copy pathJsDelegates.cs
File metadata and controls
32 lines (24 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
// http://code.google.com/p/servicestack/wiki/TypeSerializer
// ServiceStack.Text: .NET C# POCO Type Text Serializer.
//
// Authors:
// Demis Bellot (demis.bellot@gmail.com)
//
// Copyright 2010 Liquidbit Ltd.
//
// Licensed under the same terms of ServiceStack: new BSD license.
//
using System;
using System.Collections.Generic;
using System.IO;
namespace ServiceStack.Text.Common
{
internal delegate void WriteListDelegate(TextWriter writer, object oList, WriteObjectDelegate toStringFn);
internal delegate void WriteGenericListDelegate<T>(TextWriter writer, IList<T> list, WriteObjectDelegate toStringFn);
internal delegate void WriteDelegate(TextWriter writer, object value);
internal delegate ParseStringDelegate ParseFactoryDelegate();
internal delegate void WriteObjectDelegate(TextWriter writer, object obj);
public delegate void SetPropertyDelegate(object instance, object propertyValue);
public delegate object ParseStringDelegate(string stringValue);
}