CCNet.Build.Confluence.PageDocumentExtensions.RemoveIfExists C# (CSharp) Méthode

RemoveIfExists() public static méthode

Removes specified attribute, allows null to be passed.
public static RemoveIfExists ( this attribute ) : void
attribute this
Résultat void
		public static void RemoveIfExists(this XAttribute attribute)
		{
			if (attribute == null)
				return;

			attribute.Remove();
		}
	}