Esempio n. 1
0
        public ContentTypeTag([NotNull] IContentType contentType, RegionType regionType)
        {
            Requires.NotNull(contentType, nameof(contentType));
            Requires.Argument(regionType == RegionType.Begin || regionType == RegionType.End, nameof(regionType), $"Unexpected region type: {regionType}");

            _contentType = contentType;
            _regionType  = regionType;
        }
Esempio n. 2
0
        public ContentTypeTag(IContentType contentType, RegionType regionType)
        {
            Contract.Requires <ArgumentNullException>(contentType != null, "contentType");
            Contract.Requires <ArgumentException>(regionType == RegionType.Begin || regionType == RegionType.End);

            _contentType = contentType;
            _regionType  = regionType;
        }
        public ContentTypeTag(IContentType contentType, RegionType regionType)
        {
            Contract.Requires<ArgumentNullException>(contentType != null, "contentType");
            Contract.Requires<ArgumentException>(regionType == RegionType.Begin || regionType == RegionType.End);

            _contentType = contentType;
            _regionType = regionType;
        }
Esempio n. 4
0
 public IVsTextBuffer CreateVsTextBufferAdapter(Microsoft.VisualStudio.OLE.Interop.IServiceProvider serviceProvider, Microsoft.VisualStudio.Utilities.IContentType contentType)
 {
     throw new NotImplementedException();
 }
Esempio n. 5
0
 public void SaveAs(string filePath, bool overwrite, Microsoft.VisualStudio.Utilities.IContentType newContentType)
 {
     throw new NotImplementedException();
 }
Esempio n. 6
0
 public void ChangeContentType(Microsoft.VisualStudio.Utilities.IContentType newContentType, object editTag)
 {
     throw new NotImplementedException();
 }