예제 #1
0
파일: WasteType.cs 프로젝트: DEFRA/prsd-iws
        internal void SetWasteComposition(WasteComposition wasteComposition)
        {
            if (WasteCompositionCollection == null)
            {
                throw new InvalidOperationException("Waste Composition cannot be null");
            }

            WasteCompositionCollection.Add(wasteComposition);
        }
예제 #2
0
        internal void SetWasteComposition(WasteComposition wasteComposition)
        {
            if (WasteCompositionCollection == null)
            {
                throw new InvalidOperationException("Waste Composition cannot be null");
            }

            WasteCompositionCollection.Add(wasteComposition);
        }