aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL/Serialization/ISerializableEntity.cs
blob: c70d259358e9e80d12c0645da9155fb0abda5658 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.BL.Serialization
{
    /// <summary>
    /// Represents an object that defines which properties should not be serialized with the Json serializer.
    /// </summary>
    public interface ISerializableEntity
    {
        /// <summary>
        /// Gets the properties to ignore.
        /// </summary>
        /// <returns></returns>
        List<String> GetIgnoreProperties(EntitySerializationFlags flags);
    }
}