@jaricardodev/ews-javascript-api
Version:
EWS Managed api in JavaScript
15 lines (14 loc) • 538 B
text/typescript
import {EwsLogging} from "../Core/EwsLogging"
import {Item} from "../Core/ServiceObjects/Items/Item";
export class ItemGroup<TItem extends Item> {
GroupIndex: string;
Items: TItem[] = [];//System.Collections.ObjectModel.Collection<TItem>;
constructor(groupIndex: string, items: TItem[]) {
EwsLogging.Assert(
items != null,
"ItemGroup.ctor",
"items is null");
this.GroupIndex = groupIndex;
this.Items = items; //new Collection<TItem>(items);
}
}