/// <summary> /// Construct an object based on another modifier. /// </summary> public PackageManifestModifier(PackageManifestModifier other) { Logger = other.Logger; try { manifestDict = Json.Deserialize(other.GetManifestJson()) as Dictionary <string, object>; } catch (Exception e) { Logger.Log(String.Format("Failed to clone PackageManifestModifier. \nException:{1}", MANIFEST_FILE_PATH, e.ToString()), LogLevel.Error); } }
/// <summary> /// Construct an object to modify manifest file. /// </summary> public PackageManifestModifier() { Logger = new Google.Logger(); }