src/Misc/EFTools/XmlCore/UI/ViewModels/Explorer/ExplorerViewModelHelper.cs
/// <summary>
///     Returns the current active artifacts.
///     Assumption in here is that a view can span multiple artifacts..
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Returns the current active artifacts.
Assumption in here is that a view can span multiple artifacts
Returns the current active artifacts . Assumption in here is that a view can span multiple artifacts
protected virtual HashSet<EFArtifact> GetCurrentArtifactsInView(EditingContext context)
        {
            var serviceFromContext = context.GetEFArtifactService();
            Debug.Assert(
                serviceFromContext != null, "Null service in EditingContext for ExplorerViewModelHelper.ProcessModelChangesCommitted()");
            var artifacts = new HashSet<EFArtifact>();
            artifacts.Add(serviceFromContext.Artifact);
            return artifacts;
        }
protected virtual HashSet < EFArtifact > GetCurrentArtifactsInView ( EditingContext context ) { var serviceFromContext = context . GetEFArtifactService ( ) ; Debug . Assert ( serviceFromContext != null , " " ) ; var artifacts = new HashSet < EFArtifact > ( ) ; artifacts . Add ( serviceFromContext . Artifact ) ; return artifacts ; }
Returns the current active artifacts.
Returns the current active artifacts .
None
context
EditingContext
None