Example #1
0
        private BulbItem CreateBulbItem(string interfacename, string relativeNamespace, IProject project)
        {
            var DTO = new CreateInterfaceRequestMessage
            {
                Interfacename = interfacename,
                Namespace     = relativeNamespace,
                Project       = project
            };
            string QuickFixText = "Create Interface in " + project.Name;

            return(new BulbItem(QuickFixText, new CreateInterfaceAction(DTO)));
        }
 public CreateInterfaceAction(CreateInterfaceRequestMessage createInterfaceRequestMessage)
 {
     this.createInterfaceRequestMessage = createInterfaceRequestMessage;
 }