Click here to Skip to main content
15,886,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
what is meaning of below code from asp.net core?

@Html.Partial(MVC.Shared.Views._MultipleActionButtonInline, new ViewDataDictionary
                                  {
                                   {
                                     "formatString",
                                     $"Options: {(Model.CanUserSelectJobs && isEditStructureMode ? "ADD CYCLE JOB(S) TO THE PROCESS; " : "")}{(isEditStructureMode ? "":" you last built the executables within the threshold of {0} hours, so the Link/Bind step was bypassed on this occasion.")}"
                                   },
                                   {"actionButtons", buttonsMvcHtmlStringList}
                                  })


What I have tried:

i am new in asp.net core. i wanted to change above code but not sure exactly meaning of it?
if anyone is experienced in .net core, can you please explain me about this?
Posted
Comments
Richard MacCutchan 2-Jan-21 9:11am    
Ask the person who wrote it.
[no name] 3-Jan-21 11:14am    
It's building an options list. Formatting the code makes it more sensible. The options themselves are made from conditional if's.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900