public bool Equals(ASPNETCoreWebApplicationModel other)
 {
     return(Equals(_element, other?._element));
 }
Example #2
0
 public static bool HasCSharpProjectOptions(this ASPNETCoreWebApplicationModel model)
 {
     return(model.HasStereotype("C# Project Options"));
 }
Example #3
0
 public static bool HasNETCoreSettings(this ASPNETCoreWebApplicationModel model)
 {
     return(model.HasStereotype(".NET Core Settings"));
 }
Example #4
0
        public static CSharpProjectOptions GetCSharpProjectOptions(this ASPNETCoreWebApplicationModel model)
        {
            var stereotype = model.GetStereotype("C# Project Options");

            return(stereotype != null ? new CSharpProjectOptions(stereotype) : null);
        }
Example #5
0
        public static NETCoreSettings GetNETCoreSettings(this ASPNETCoreWebApplicationModel model)
        {
            var stereotype = model.GetStereotype(".NET Core Settings");

            return(stereotype != null ? new NETCoreSettings(stereotype) : null);
        }