Skip to content

Instantly share code, notes, and snippets.

@jasondown
Created August 3, 2021 06:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasondown/393767c7b645b45fa90296db79495ebc to your computer and use it in GitHub Desktop.
Save jasondown/393767c7b645b45fa90296db79495ebc to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Windows.Controls;
using Jason.Down.Blog.MutliImageAddinDemo.Collections;
namespace Jason.Down.Blog.MutliImageAddinDemo.Model
{
public interface IImageRepository
{
/// <summary>
/// Occurs when a request for item images is made.
/// </summary>
event EventHandler<ImageRequestEventArgs> RequestItemImages;
/// <summary>
/// Gets or sets the collection of item images.
/// </summary>
/// <value>
/// The collection of item images.
/// </value>
SmartObservableCollection<Image> GetImages();
/// <summary>
/// Sets the collection of item images.
/// </summary>
/// <param name="images">The images.</param>
void SetImages(IEnumerable<Image> images);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment