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

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

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