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