Example #1
0
 public bool HasChangedFrom(Application obj)
 {
     return false
     || (!EqualityComparer<VisualRust.Shared.BuildOutputType>.Default.Equals(OutputType, obj.OutputType))
     || (!EqualityComparer<System.String>.Default.Equals(CrateName, obj.CrateName))
     || (!EqualityComparer<System.Boolean>.Default.Equals(BuildDylib, obj.BuildDylib))
     || (!EqualityComparer<System.Boolean>.Default.Equals(BuildRlib, obj.BuildRlib))
     || (!EqualityComparer<System.Boolean>.Default.Equals(BuildStaticlib, obj.BuildStaticlib))
     ;
 }
Example #2
0
 public static Application LoadFrom(CommonProjectNode proj)
 {
     var x = new Application();
     x.OutputType = OutputTypeFromString(proj.GetUnevaluatedProperty("OutputType"));
     Utils.FromString(proj.GetUnevaluatedProperty("CrateName"), out x.crateName);
     Utils.FromString(proj.GetUnevaluatedProperty("BuildDylib"), out x.buildDylib);
     Utils.FromString(proj.GetUnevaluatedProperty("BuildRlib"), out x.buildRlib);
     Utils.FromString(proj.GetUnevaluatedProperty("BuildStaticlib"), out x.buildStaticlib);
     return x;
 }