Skip to content

Resource references are not raising CollectionChanged event #524

@dbeuchler

Description

@dbeuchler

Describe the bug
Resource references are not raising CollectionChanged event

To Reproduce
Steps to reproduce the behavior:

public IReferences<IMyResource> MyResources { get; set; }

protected override void OnStart()
{
    var refCol = (IReferenceCollection)MyResources;
    refCol.CollectionChanged += RefColOnCollectionChanged;
}

private void RefColOnCollectionChanged(object sender, ReferenceCollectionChangedEventArgs e)
{
    // not raised
}

Add resource to the references and save. Nothing happens.

Expected behavior
CollectionChanged event should be raised.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions