- edited description
IContextHolder
Issue #61
resolved
Create an Interface IContextHolder, which ContextHolder implements AND change usages of ContextHolder to IContextHolder to be possible to create custom context holders without need of deriviing from ContextHolder class
using System;
namespace Slash.Unity.DataBind.Core.Presentation
{
public interface IContextHolder
{
object Context { get; set; }
Type ContextType { get; }
string Path { get; set; }
event ContextHolder.ContextChangedDelegate ContextChanged;
void SetContext(object newContext, string path);
}
}
Comments (4)
-
reporter -
repo owner This was resolved in SHA-1: 6042ff1c6d68ad7ec0a3ce8689fe252acc1f1c59 by using a virtual method NotifyContextOperatorsAboutContextChange which can be overridden
-
repo owner - changed status to resolved
-
repo owner - removed milestone
Removing milestone: 1.0.11 (automated comment)
- Log in to comment