public GatherRequest( SourceResource source, PackageIdentity package, bool ignoreExceptions, int order, bool isInstalledPackage) { Source = source; Package = package; IgnoreExceptions = ignoreExceptions; Order = order; IsInstalledPackage = isInstalledPackage; }
protected virtual void ApplyChanges() { SourceResource.Caption = EditedResourceCopy.Caption; SourceResource.SetColor(EditedResourceCopy.GetColor()); SourceResource.SetImage(EditedResourceCopy.GetImage()); }
protected virtual void UpdateEditedResourceCopy() { EditedResourceCopy.Caption = SourceResource.Caption; EditedResourceCopy.SetColor(SourceResource.GetColor()); EditedResourceCopy.SetImage(SourceResource.GetImage()); }