Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 745 Bytes

File metadata and controls

39 lines (28 loc) · 745 Bytes

Utility Interfaces

.NET 2 NuGet version (Newtonsoft.Json.Bson)

A collection of interface types (generally) with a single readonly property e.g

public interface ICount
{
    int Count { get; }
}

or method

public interface ICopy
{
    string Copy();
}

and names, which match their properties

some types are composed of get and set sub-types

e.g

public interface IData : IGetData, ISetData
{
}

public interface IGetData
{
    object Data { get; }
}

public interface ISetData
{
    object Data { set; }
}