Ejemplo n.º 1
0
 public bool Equals(ClassLibraryNETCoreModel other)
 {
     return(Equals(_element, other?._element));
 }
 public static bool HasCSharpProjectOptions(this ClassLibraryNETCoreModel model)
 {
     return(model.HasStereotype("C# Project Options"));
 }
 public static bool HasNETCoreSettings(this ClassLibraryNETCoreModel model)
 {
     return(model.HasStereotype(".NET Core Settings"));
 }
        public static CSharpProjectOptions GetCSharpProjectOptions(this ClassLibraryNETCoreModel model)
        {
            var stereotype = model.GetStereotype("C# Project Options");

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

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