private static void AddSecuritySteps(SquareContext context, SquareType security) { var ss1 = new Step() { Action = "Step1", Controller = "Security", SquareType = security, Description = "", Name = "Agree on Definitions", Order = 1 }; var ss2 = new Step() { Action = "Step2", Controller = "Security", SquareType = security, Description = "", Name = "Identify Security Goals", Order = 2 }; var ss3 = new Step() { Action = "Step3", Controller = "Security", SquareType = security, Description = "", Name = "Develop Artifacts", Order = 3 }; var ss4 = new Step() { Action = "Step4", Controller = "Security", SquareType = security, Description = "", Name = "Perform Risk Assessment", Order = 4 }; var ss5 = new Step() { Action = "Step5", Controller = "Security", SquareType = security, Description = "", Name = "Select Elicitation Requirements", Order = 5 }; var ss6 = new Step() { Action = "Step6", Controller = "Security", SquareType = security, Description = "", Name = "Elicit Security Requirements", Order = 6 }; var ss7 = new Step() { Action = "Step7", Controller = "Security", SquareType = security, Description = "", Name = "Categorize Requirements", Order = 7 }; var ss8 = new Step() { Action = "Step8", Controller = "Security", SquareType = security, Description = "", Name = "Prioritize Requirements", Order = 8 }; var ss9 = new Step() { Action = "Step9", Controller = "Security", SquareType = security, Description = "", Name = "Requirements Inspection", Order = 9 }; context.Steps.Add(ss1); context.Steps.Add(ss2); context.Steps.Add(ss3); context.Steps.Add(ss4); context.Steps.Add(ss5); context.Steps.Add(ss6); context.Steps.Add(ss7); context.Steps.Add(ss8); context.Steps.Add(ss9); }
private static void AddPrivacySteps(SquareContext context, SquareType privacy) { var ps1 = new Step() { Action = "Step1", Controller = "Privacy", SquareType = privacy, Description = "", Name = "Agree on Definitions", Order = 1 }; var ps2 = new Step() { Action = "Step2", Controller = "Privacy", SquareType = privacy, Description = "", Name = "Identify Assets and Privacy Goals", Order = 2 }; var ps3 = new Step() { Action = "Step3", Controller = "Privacy", SquareType = privacy, Description = "", Name = "Collect Artifacts", Order = 3 }; var ps4 = new Step() { Action = "Step4", Controller = "Privacy", SquareType = privacy, Description = "", Name = "Risk Assessment", Order = 4 }; var ps5 = new Step() { Action = "Step5", Controller = "Privacy", SquareType = privacy, Description = "", Name = "Select Elicitation Technique", Order = 5 }; var ps6 = new Step() { Action = "Step6", Controller = "Privacy", SquareType = privacy, Description = "", Name = "Elicit Privacy Requirements", Order = 6 }; var ps7 = new Step() { Action = "Step7", Controller = "Privacy", SquareType = privacy, Description = "", Name = "Categorize Requirements", Order = 7 }; var ps8 = new Step() { Action = "Step8", Controller = "Privacy", SquareType = privacy, Description = "", Name = "Prioritize Requirements", Order = 8 }; var ps9 = new Step() { Action = "Step9", Controller = "Privacy", SquareType = privacy, Description = "", Name = "Inspect Requirements", Order = 9 }; context.Steps.Add(ps1); context.Steps.Add(ps2); context.Steps.Add(ps3); context.Steps.Add(ps4); context.Steps.Add(ps5); context.Steps.Add(ps6); context.Steps.Add(ps7); context.Steps.Add(ps8); context.Steps.Add(ps9); }