< Summary

Class:MUNity.Models.Resolution.PreambleParagraph
Assembly:MUNity.Schema
File(s):C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNitySchema\Models\Resolution\PreambleParagraph.cs
Covered lines:0
Uncovered lines:9
Coverable lines:9
Total lines:48
Line coverage:0% (0 of 9)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:6
Method coverage:0% (0 of 6)

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_PreambleParagraphId()100%10%
get_Text()100%10%
get_IsLocked()100%10%
get_Corrected()100%10%
get_Comment()100%10%
.ctor()100%10%

File(s)

C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNitySchema\Models\Resolution\PreambleParagraph.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Collections.ObjectModel;
 4using System.ComponentModel;
 5using System.Runtime.CompilerServices;
 6using System.Text;
 7
 8namespace MUNity.Models.Resolution
 9{
 10
 11    /// <summary>
 12    /// A Preamble Paragraphs. This type of paragraph cannot have amendments or child paragraphs.
 13    /// </summary>
 14    public class PreambleParagraph
 15    {
 16
 17        /// <summary>
 18        /// The Id of the Preamble Paragraph.
 19        /// </summary>
 020        public string PreambleParagraphId { get; set; }
 21
 22        /// <summary>
 23        /// The Text (content) of the paragraph.
 24        /// </summary>
 025        public string Text { get; set; }
 26
 27        /// <summary>
 28        /// is the paragraph marked as locked. This will not effect the Text Property you can still change the Text or c
 29        /// event if this property is set to true (locked).
 30        /// </summary>
 031        public bool IsLocked { get; set; }
 32
 33        /// <summary>
 34        /// Marks the paragraph as corrected. Note that this property will still keep its value even if the text is chan
 35        /// </summary>
 036        public bool Corrected { get; set; }
 37
 038        public string Comment { get; set; }
 39
 40        /// <summary>
 41        /// Creates a new Preamble paragraph.
 42        /// </summary>
 043        public PreambleParagraph()
 044        {
 045            PreambleParagraphId = Guid.NewGuid().ToString();
 046        }
 47    }
 48}