/// <summary> /// CreateResult Constructor. /// </summary> /// <param name="id">ID of the item created.</param> public CreateResult(int id) : this(id, MbSpecificError.NoError()) { }
/// <summary> /// GenericResult Constructor Success case. /// </summary> /// <returns>GenericResult.</returns> public static GenericResult Success() { return(new GenericResult(MbSpecificError.NoError())); }
/// <summary> /// BrowseResult Constructor. /// </summary> /// <param name="items">Object Collection.</param> public BrowseResult(List <t> items) : this(items, MbSpecificError.NoError()) { }
public BrowseResult(t[] items) : this(new List <t>(items), MbSpecificError.NoError()) { }
public SimpleResult(T item) : this(item, MbSpecificError.NoError()) { }