/// <summary> /// Initializes a new instance of the <see cref="OperationData"/> class. /// </summary> public OperationData() { Resources = new HashSet<OperationResourceData>(); DispositionedResources = new HashSet<DispositionedResourceData>(); Einsatzort = new PropertyLocation(); Zielort = new PropertyLocation(); Keywords = new OperationKeywords(); }
/// <summary> /// Initializes a new instance of the <see cref="Operation"/> class and sets the value of the <see cref="P:TimestampIncome"/>-property to <see cref="P:DateTime.Now"/>. /// </summary> public Operation() { CustomData = new Dictionary <string, object>(); Resources = new OperationResourceCollection(); OperationGuid = Guid.NewGuid(); Loops = new OperationLoopCollection(); Einsatzort = new PropertyLocation(); Zielort = new PropertyLocation(); Keywords = new OperationKeywords(); TimestampIncome = DateTime.Now; }