/// <summary> /// Check if this environment equals another environment /// </summary> /// <param name="environment">this environment</param> /// <param name="other">The environment to compare to</param> /// <returns>Treu fi the elements of the environment are equal, otherwise false</returns> public static bool IsEqual(this IAzureEnvironment environment, IAzureEnvironment other) { return((environment == null && other == null) || environment.CheckExtensionsEqual(other)); }