示例#1
0
 public bool Equals(AzureFunctionsProjectModel other)
 {
     return(Equals(_element, other?._element));
 }
 public static bool HasCSharpProjectOptions(this AzureFunctionsProjectModel model)
 {
     return(model.HasStereotype("C# Project Options"));
 }
 public static bool HasAzureFunctionsProjectSettings(this AzureFunctionsProjectModel model)
 {
     return(model.HasStereotype("Azure Functions Project Settings"));
 }
        public static CSharpProjectOptions GetCSharpProjectOptions(this AzureFunctionsProjectModel model)
        {
            var stereotype = model.GetStereotype("C# Project Options");

            return(stereotype != null ? new CSharpProjectOptions(stereotype) : null);
        }
        public static AzureFunctionsProjectSettings GetAzureFunctionsProjectSettings(this AzureFunctionsProjectModel model)
        {
            var stereotype = model.GetStereotype("Azure Functions Project Settings");

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