public XPObjectSpaceAwareControlInitializer(IXPObjectSpaceAwareControl control, IObjectSpace objectSpace) { Guard.ArgumentNotNull(control, "control"); Guard.ArgumentNotNull(objectSpace, "objectSpace"); control.UpdateDataSource(objectSpace); objectSpace.Reloaded += (sender, args) => control.UpdateDataSource(objectSpace); }
public XPObjectSpaceAwareControlInitializer(IXPObjectSpaceAwareControl control, IObjectSpace objectSpace) { Guard.ArgumentNotNull(control, "control"); Guard.ArgumentNotNull(objectSpace, "objectSpace"); control.UpdateDataSource(objectSpace); objectSpace.Reloaded += (sender, args) => control.UpdateDataSource(objectSpace); }
public XPObjectSpaceAwareControlInitializer(IXPObjectSpaceAwareControl control, XafApplication theApplication) : this(control, theApplication != null ? theApplication.CreateObjectSpace() : null) { }
public XPObjectSpaceAwareControlInitializer(IXPObjectSpaceAwareControl control, XafApplication theApplication) : this(control, theApplication != null ? theApplication.CreateObjectSpace(typeof(DashboardDefinition)) : null) { }
public XPObjectSpaceAwareControlInitializer(IXPObjectSpaceAwareControl control, XafApplication theApplication) : this(control, theApplication != null ? theApplication.CreateObjectSpace() : null) { }
public XPObjectSpaceAwareControlInitializer(IXPObjectSpaceAwareControl control, XafApplication theApplication) : this(control, theApplication != null ? theApplication.CreateObjectSpace(typeof(DashboardDefinition)) : null) { }