Ejemplo n.º 1
0
 /// <summary>
 /// Creates the empty model.
 /// </summary>
 /// <returns>UAModelDesignerSolution.</returns>
 internal static UAModelDesignerSolution CreateEmptyModel()
 {
     return(new UAModelDesignerSolution()
     {
         Name = Resources.DefaultSolutionName,
         Projects = new UAModelDesignerProject[] { },
         ServerDetails = UAModelDesignerSolutionServerDetails.CreateEmptyInstance()
     });
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates an empty solution model.
 /// </summary>
 /// <returns>UAModelDesignerSolution.</returns>
 internal static UAModelDesignerSolution CreateEmptyModel(string solutionName)
 {
     return(new UAModelDesignerSolution()
     {
         Name = solutionName,
         Projects = new UAModelDesignerProject[] { },
         ServerDetails = UAModelDesignerSolutionServerDetails.CreateEmptyInstance()
     });
 }
Ejemplo n.º 3
0
 public void OnDeserialized(StreamingContext context)
 {
     ServerDetails = ServerDetails ?? UAModelDesignerSolutionServerDetails.CreateEmptyInstance();
 }