src/Misc/EFTools/XmlCore/Model/EFArtifact.cs
/// <summary>
///     This will be called in the CommandProcessor and can contain custom
///     logic to short-circuit any model edits. This is useful for example,
///     to query the VS SCC provider.
/// </summary>
This will be called in the CommandProcessor and can contain custom
logic to short-circuit any model edits. This is useful for example,
to query the VS SCC provider.
This will be called in the CommandProcessor and can contain custom logic to short - circuit any model edits . This is useful for example to query the VS SCC provider .
internal virtual bool CanEditArtifact()
        {
            if (XmlModelProvider != null)
            {
                var xmlModel = XmlModelProvider.GetXmlModel(Uri);
                if (xmlModel != null)
                {
                    return xmlModel.CanEditXmlModel();
                }
            }
            Debug.Fail("In trying to determine whether we CanEditArtifact(), we could not find the XML model attached to this EFArtifact");
            return false;
        }
internal virtual bool CanEditArtifact ( ) { if ( XmlModelProvider != null ) { var xmlModel = XmlModelProvider . GetXmlModel ( Uri ) ; if ( xmlModel != null ) { return xmlModel . CanEditXmlModel ( ) ; } } Debug . Fail ( " " ) ; return false ; }
This will be called in the CommandProcessor and can contain custom
logic to short-circuit any model edits.
This will be called in the CommandProcessor and can contain custom logic to short - circuit any model edits .