diff --git a/src/Sharpener.Revit/Sharpener.Revit.csproj b/src/Sharpener.Revit/Sharpener.Revit.csproj index f6519f3..8ad9e54 100644 --- a/src/Sharpener.Revit/Sharpener.Revit.csproj +++ b/src/Sharpener.Revit/Sharpener.Revit.csproj @@ -8,7 +8,7 @@ true true true - 1.1.0 + 1.1.1 $(SharedPackageVersion) $(SharedPackageVersion) $(SharedPackageVersion)+$(GitCommitId) diff --git a/stubs/Directory.Build.props b/stubs/Directory.Build.props deleted file mode 100644 index 9014ddc..0000000 --- a/stubs/Directory.Build.props +++ /dev/null @@ -1,7 +0,0 @@ - - - - false - false - - diff --git a/stubs/Sharpener.RevitAPI/DB/Connector.cs b/stubs/Sharpener.RevitAPI/DB/Connector.cs deleted file mode 100644 index 4b8f18f..0000000 --- a/stubs/Sharpener.RevitAPI/DB/Connector.cs +++ /dev/null @@ -1,29 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.DB; - -public class Connector -{ - public bool IsConnected { get; set; } - - public ConnectorSet AllRefs { get; set; } = new(); - - public XYZ Origin { get; set; } = new(); - - public Element Owner { get; set; } = new(); - - public ConnectorType ConnectorType { get; set; } = new(); - - public void DisconnectFrom(Connector connector) - { - } - - public void ConnectTo(Connector connector) - { - } - - public MEPConnectorInfo GetMEPConnectorInfo() - { - return new MEPConnectorInfo(); - } -} diff --git a/stubs/Sharpener.RevitAPI/DB/ConnectorManager.cs b/stubs/Sharpener.RevitAPI/DB/ConnectorManager.cs deleted file mode 100644 index 12b7385..0000000 --- a/stubs/Sharpener.RevitAPI/DB/ConnectorManager.cs +++ /dev/null @@ -1,10 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.DB; - -public class ConnectorManager -{ - public ConnectorSet Connectors { get; set; } = []; - - public ConnectorSet UnusedConnectors { get; set; } = new(); -} diff --git a/stubs/Sharpener.RevitAPI/DB/ConnectorSet.cs b/stubs/Sharpener.RevitAPI/DB/ConnectorSet.cs deleted file mode 100644 index ad443d1..0000000 --- a/stubs/Sharpener.RevitAPI/DB/ConnectorSet.cs +++ /dev/null @@ -1,13 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -using System.Collections; - -namespace Autodesk.Revit.DB; - -public class ConnectorSet : IEnumerable -{ - public IEnumerator GetEnumerator() - { - return new List().GetEnumerator(); - } -} diff --git a/stubs/Sharpener.RevitAPI/DB/ConnectorType.cs b/stubs/Sharpener.RevitAPI/DB/ConnectorType.cs deleted file mode 100644 index 152f1aa..0000000 --- a/stubs/Sharpener.RevitAPI/DB/ConnectorType.cs +++ /dev/null @@ -1,7 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.DB; - -public class ConnectorType -{ -} diff --git a/stubs/Sharpener.RevitAPI/DB/Element.cs b/stubs/Sharpener.RevitAPI/DB/Element.cs deleted file mode 100644 index 745b8e8..0000000 --- a/stubs/Sharpener.RevitAPI/DB/Element.cs +++ /dev/null @@ -1,10 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.DB; - -public class Element -{ - public ElementId Id { get; set; } = new(); - - public Document Document { get; set; } = new(); -} diff --git a/stubs/Sharpener.RevitAPI/DB/ElementSet.cs b/stubs/Sharpener.RevitAPI/DB/ElementSet.cs deleted file mode 100644 index bf75957..0000000 --- a/stubs/Sharpener.RevitAPI/DB/ElementSet.cs +++ /dev/null @@ -1,7 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.DB; - -public class ElementSet -{ -} diff --git a/stubs/Sharpener.RevitAPI/DB/ElementTransformUtils.cs b/stubs/Sharpener.RevitAPI/DB/ElementTransformUtils.cs deleted file mode 100644 index 869ab91..0000000 --- a/stubs/Sharpener.RevitAPI/DB/ElementTransformUtils.cs +++ /dev/null @@ -1,10 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.DB; - -public class ElementTransformUtils -{ - public static void MoveElement(Document document, ElementId elementToMove, XYZ translation) - { - } -} diff --git a/stubs/Sharpener.RevitAPI/DB/Events/ApplicationInitializedEventArgs.cs b/stubs/Sharpener.RevitAPI/DB/Events/ApplicationInitializedEventArgs.cs deleted file mode 100644 index 3c5f229..0000000 --- a/stubs/Sharpener.RevitAPI/DB/Events/ApplicationInitializedEventArgs.cs +++ /dev/null @@ -1,7 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.DB.Events; - -public class ApplicationInitializedEventArgs : EventArgs -{ -} diff --git a/stubs/Sharpener.RevitAPI/DB/ExternalCommandData.cs b/stubs/Sharpener.RevitAPI/DB/ExternalCommandData.cs deleted file mode 100644 index 117cf58..0000000 --- a/stubs/Sharpener.RevitAPI/DB/ExternalCommandData.cs +++ /dev/null @@ -1,7 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.DB; - -public class ExternalCommandData -{ -} diff --git a/stubs/Sharpener.RevitAPI/DB/FabricationPart.cs b/stubs/Sharpener.RevitAPI/DB/FabricationPart.cs deleted file mode 100644 index 2b2a159..0000000 --- a/stubs/Sharpener.RevitAPI/DB/FabricationPart.cs +++ /dev/null @@ -1,8 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.DB; - -public class FabricationPart : Element -{ - public ConnectorManager ConnectorManager { get; set; } = new(); -} diff --git a/stubs/Sharpener.RevitAPI/DB/FamilyInstance.cs b/stubs/Sharpener.RevitAPI/DB/FamilyInstance.cs deleted file mode 100644 index f7af1fb..0000000 --- a/stubs/Sharpener.RevitAPI/DB/FamilyInstance.cs +++ /dev/null @@ -1,8 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.DB; - -public class FamilyInstance : Element -{ - public MEPModel MEPModel { get; set; } = new(); -} diff --git a/stubs/Sharpener.RevitAPI/DB/MEPConnectorInfo.cs b/stubs/Sharpener.RevitAPI/DB/MEPConnectorInfo.cs deleted file mode 100644 index 8e09dc1..0000000 --- a/stubs/Sharpener.RevitAPI/DB/MEPConnectorInfo.cs +++ /dev/null @@ -1,9 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.DB; - -public class MEPConnectorInfo -{ - public bool IsPrimary { get; set; } - public bool IsSecondary { get; set; } -} diff --git a/stubs/Sharpener.RevitAPI/DB/MEPCurve.cs b/stubs/Sharpener.RevitAPI/DB/MEPCurve.cs deleted file mode 100644 index 44d3ca2..0000000 --- a/stubs/Sharpener.RevitAPI/DB/MEPCurve.cs +++ /dev/null @@ -1,9 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.DB; - -// ReSharper disable once InconsistentNaming -public class MEPCurve : Element -{ - public ConnectorManager ConnectorManager { get; set; } = new(); -} diff --git a/stubs/Sharpener.RevitAPI/DB/MEPModel.cs b/stubs/Sharpener.RevitAPI/DB/MEPModel.cs deleted file mode 100644 index f1ef4b3..0000000 --- a/stubs/Sharpener.RevitAPI/DB/MEPModel.cs +++ /dev/null @@ -1,8 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.DB; - -public class MEPModel : FamilyInstance -{ - public ConnectorManager ConnectorManager { get; set; } = new(); -} diff --git a/stubs/Sharpener.RevitAPI/DB/Mechanical/MechanicalFitting.cs b/stubs/Sharpener.RevitAPI/DB/Mechanical/MechanicalFitting.cs deleted file mode 100644 index d590927..0000000 --- a/stubs/Sharpener.RevitAPI/DB/Mechanical/MechanicalFitting.cs +++ /dev/null @@ -1,7 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.DB.Mechanical; - -public class MechanicalFitting : MEPModel -{ -} diff --git a/stubs/Sharpener.RevitAPI/DB/ObjectType.cs b/stubs/Sharpener.RevitAPI/DB/ObjectType.cs deleted file mode 100644 index 4dd317b..0000000 --- a/stubs/Sharpener.RevitAPI/DB/ObjectType.cs +++ /dev/null @@ -1,8 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.DB; - -public class ObjectType -{ - public static int Element { get; set; } -} diff --git a/stubs/Sharpener.RevitAPI/DB/Reference.cs b/stubs/Sharpener.RevitAPI/DB/Reference.cs deleted file mode 100644 index 5038f47..0000000 --- a/stubs/Sharpener.RevitAPI/DB/Reference.cs +++ /dev/null @@ -1,8 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.DB; - -public class Reference -{ - -} diff --git a/stubs/Sharpener.RevitAPI/DB/XYZ.cs b/stubs/Sharpener.RevitAPI/DB/XYZ.cs deleted file mode 100644 index 613e44a..0000000 --- a/stubs/Sharpener.RevitAPI/DB/XYZ.cs +++ /dev/null @@ -1,21 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.DB; - -public class XYZ -{ - public XYZ Subtract(XYZ point) - { - return new XYZ(); - } - - public double DistanceTo(XYZ source) - { - return 1; - } - - public bool IsAlmostEqualTo(XYZ point) - { - return false; - } -} diff --git a/stubs/Sharpener.RevitAPI/Document.cs b/stubs/Sharpener.RevitAPI/Document.cs deleted file mode 100644 index d972afe..0000000 --- a/stubs/Sharpener.RevitAPI/Document.cs +++ /dev/null @@ -1,13 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -using Autodesk.Revit.DB; - -namespace Autodesk.Revit; - -public class Document -{ - public Element GetElement(object id) - { - return new Element(); - } -} diff --git a/stubs/Sharpener.RevitAPI/ElementId.cs b/stubs/Sharpener.RevitAPI/ElementId.cs deleted file mode 100644 index 80e670a..0000000 --- a/stubs/Sharpener.RevitAPI/ElementId.cs +++ /dev/null @@ -1,7 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit; - -public class ElementId -{ -} diff --git a/stubs/Sharpener.RevitAPI/Sharpener.RevitAPI.csproj b/stubs/Sharpener.RevitAPI/Sharpener.RevitAPI.csproj deleted file mode 100644 index 75f477c..0000000 --- a/stubs/Sharpener.RevitAPI/Sharpener.RevitAPI.csproj +++ /dev/null @@ -1,10 +0,0 @@ - - - netstandard2.0 - Autodesk.Revit - RevitAPI - false - false - false - - diff --git a/stubs/Sharpener.RevitAPIUI/ComboBox.cs b/stubs/Sharpener.RevitAPIUI/ComboBox.cs deleted file mode 100644 index 822c80f..0000000 --- a/stubs/Sharpener.RevitAPIUI/ComboBox.cs +++ /dev/null @@ -1,10 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public class ComboBox -{ - public void AddItem(ComboBoxMemberData data) - { - } -} diff --git a/stubs/Sharpener.RevitAPIUI/ComboBoxData.cs b/stubs/Sharpener.RevitAPIUI/ComboBoxData.cs deleted file mode 100644 index d9c7fa9..0000000 --- a/stubs/Sharpener.RevitAPIUI/ComboBoxData.cs +++ /dev/null @@ -1,10 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public class ComboBoxData -{ - public ComboBoxData(string name) - { - } -} diff --git a/stubs/Sharpener.RevitAPIUI/ComboBoxMemberData.cs b/stubs/Sharpener.RevitAPIUI/ComboBoxMemberData.cs deleted file mode 100644 index 8b5b12c..0000000 --- a/stubs/Sharpener.RevitAPIUI/ComboBoxMemberData.cs +++ /dev/null @@ -1,11 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public class ComboBoxMemberData -{ - public ComboBoxMemberData(string name, string text) - - { - } -} diff --git a/stubs/Sharpener.RevitAPIUI/ControlledApplication.cs b/stubs/Sharpener.RevitAPIUI/ControlledApplication.cs deleted file mode 100644 index ac750e3..0000000 --- a/stubs/Sharpener.RevitAPIUI/ControlledApplication.cs +++ /dev/null @@ -1,10 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -using Autodesk.Revit.DB.Events; - -namespace Autodesk.Revit.UI; - -public class ControlledApplication -{ - public event EventHandler ApplicationInitialized = (sender, args) => { }; -} diff --git a/stubs/Sharpener.RevitAPIUI/DockablePaneId.cs b/stubs/Sharpener.RevitAPIUI/DockablePaneId.cs deleted file mode 100644 index ae3f63a..0000000 --- a/stubs/Sharpener.RevitAPIUI/DockablePaneId.cs +++ /dev/null @@ -1,10 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public class DockablePaneId -{ - public DockablePaneId(Guid guid) - { - } -} diff --git a/stubs/Sharpener.RevitAPIUI/DockablePaneProviderData.cs b/stubs/Sharpener.RevitAPIUI/DockablePaneProviderData.cs deleted file mode 100644 index 2a12b2f..0000000 --- a/stubs/Sharpener.RevitAPIUI/DockablePaneProviderData.cs +++ /dev/null @@ -1,9 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public class DockablePaneProviderData -{ - public object FrameworkElement { get; set; } = null!; - public object InitialState { get; set; } = null!; -} diff --git a/stubs/Sharpener.RevitAPIUI/DockablePaneState.cs b/stubs/Sharpener.RevitAPIUI/DockablePaneState.cs deleted file mode 100644 index 2bb5b04..0000000 --- a/stubs/Sharpener.RevitAPIUI/DockablePaneState.cs +++ /dev/null @@ -1,7 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public class DockablePaneState -{ -} diff --git a/stubs/Sharpener.RevitAPIUI/Events/ThemeChangedEventArgs.cs b/stubs/Sharpener.RevitAPIUI/Events/ThemeChangedEventArgs.cs deleted file mode 100644 index 6980ea3..0000000 --- a/stubs/Sharpener.RevitAPIUI/Events/ThemeChangedEventArgs.cs +++ /dev/null @@ -1,8 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI.Events; - -public class ThemeChangedEventArgs -{ - public ThemeType ThemeChangedType { get; } -} diff --git a/stubs/Sharpener.RevitAPIUI/ExternalEvent.cs b/stubs/Sharpener.RevitAPIUI/ExternalEvent.cs deleted file mode 100644 index bc467a6..0000000 --- a/stubs/Sharpener.RevitAPIUI/ExternalEvent.cs +++ /dev/null @@ -1,19 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public class ExternalEvent : IDisposable -{ - public void Dispose() - { - } - - public static ExternalEvent Create(object handler) - { - return new ExternalEvent(); - } - - public void Raise() - { - } -} diff --git a/stubs/Sharpener.RevitAPIUI/IDockablePaneProvider.cs b/stubs/Sharpener.RevitAPIUI/IDockablePaneProvider.cs deleted file mode 100644 index ff4149c..0000000 --- a/stubs/Sharpener.RevitAPIUI/IDockablePaneProvider.cs +++ /dev/null @@ -1,7 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public interface IDockablePaneProvider -{ -} diff --git a/stubs/Sharpener.RevitAPIUI/IExternalCommand.cs b/stubs/Sharpener.RevitAPIUI/IExternalCommand.cs deleted file mode 100644 index 85b4a37..0000000 --- a/stubs/Sharpener.RevitAPIUI/IExternalCommand.cs +++ /dev/null @@ -1,7 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public interface IExternalCommand -{ -} diff --git a/stubs/Sharpener.RevitAPIUI/IExternalEventHandler.cs b/stubs/Sharpener.RevitAPIUI/IExternalEventHandler.cs deleted file mode 100644 index 2657d18..0000000 --- a/stubs/Sharpener.RevitAPIUI/IExternalEventHandler.cs +++ /dev/null @@ -1,7 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public interface IExternalEventHandler -{ -} diff --git a/stubs/Sharpener.RevitAPIUI/PulldownButton.cs b/stubs/Sharpener.RevitAPIUI/PulldownButton.cs deleted file mode 100644 index f13a43e..0000000 --- a/stubs/Sharpener.RevitAPIUI/PulldownButton.cs +++ /dev/null @@ -1,10 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public class PulldownButton -{ - public void AddPushButton(PushButtonData data) - { - } -} diff --git a/stubs/Sharpener.RevitAPIUI/PulldownButtonData.cs b/stubs/Sharpener.RevitAPIUI/PulldownButtonData.cs deleted file mode 100644 index 7fac19f..0000000 --- a/stubs/Sharpener.RevitAPIUI/PulldownButtonData.cs +++ /dev/null @@ -1,13 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public class PulldownButtonData -{ - public PulldownButtonData(string? name, string? text) - { - } - - public string? ToolTip { get; set; } - public object? LargeImage { get; set; } -} diff --git a/stubs/Sharpener.RevitAPIUI/PushButton.cs b/stubs/Sharpener.RevitAPIUI/PushButton.cs deleted file mode 100644 index c8a49bf..0000000 --- a/stubs/Sharpener.RevitAPIUI/PushButton.cs +++ /dev/null @@ -1,7 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public class PushButton -{ -} diff --git a/stubs/Sharpener.RevitAPIUI/PushButtonData.cs b/stubs/Sharpener.RevitAPIUI/PushButtonData.cs deleted file mode 100644 index 5fa7819..0000000 --- a/stubs/Sharpener.RevitAPIUI/PushButtonData.cs +++ /dev/null @@ -1,13 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public class PushButtonData -{ - public PushButtonData(string? name, string? text, string? assembly, string? className) - { - } - - public string? ToolTip { get; set; } - public object? LargeImage { get; set; } -} diff --git a/stubs/Sharpener.RevitAPIUI/Result.cs b/stubs/Sharpener.RevitAPIUI/Result.cs deleted file mode 100644 index 54a2d55..0000000 --- a/stubs/Sharpener.RevitAPIUI/Result.cs +++ /dev/null @@ -1,9 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public enum Result -{ - Cancelled, - Failed -} diff --git a/stubs/Sharpener.RevitAPIUI/RibbonPanel.cs b/stubs/Sharpener.RevitAPIUI/RibbonPanel.cs deleted file mode 100644 index 5bcddfc..0000000 --- a/stubs/Sharpener.RevitAPIUI/RibbonPanel.cs +++ /dev/null @@ -1,15 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public class RibbonPanel -{ - public object AddItem(object data) - { - return new object(); - } - - public void AddSeparator() - { - } -} diff --git a/stubs/Sharpener.RevitAPIUI/Selection/ISelectionFilter.cs b/stubs/Sharpener.RevitAPIUI/Selection/ISelectionFilter.cs deleted file mode 100644 index b58289c..0000000 --- a/stubs/Sharpener.RevitAPIUI/Selection/ISelectionFilter.cs +++ /dev/null @@ -1,11 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -using Autodesk.Revit.DB; - -namespace Autodesk.Revit.UI.Selection; - -public interface ISelectionFilter -{ - public bool AllowElement(Element elem); - public bool AllowReference(Reference reference, XYZ position); -} diff --git a/stubs/Sharpener.RevitAPIUI/Selection/SelectedRef.cs b/stubs/Sharpener.RevitAPIUI/Selection/SelectedRef.cs deleted file mode 100644 index 78ad5bf..0000000 --- a/stubs/Sharpener.RevitAPIUI/Selection/SelectedRef.cs +++ /dev/null @@ -1,13 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -using Autodesk.Revit.DB; - -namespace Autodesk.Revit.UI.Selection; - -public class SelectedRef -{ - public IEnumerable Select(Func func) - { - return []; - } -} diff --git a/stubs/Sharpener.RevitAPIUI/Selection/Selection.cs b/stubs/Sharpener.RevitAPIUI/Selection/Selection.cs deleted file mode 100644 index 706388b..0000000 --- a/stubs/Sharpener.RevitAPIUI/Selection/Selection.cs +++ /dev/null @@ -1,16 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI.Selection; - -public class Selection -{ - public IEnumerable GetElementIds() - { - return []; - } - - public SelectedRef PickObjects(object objectType, ISelectionFilter filter, string? prompt) - { - return new SelectedRef(); - } -} diff --git a/stubs/Sharpener.RevitAPIUI/Sharpener.RevitAPIUI.csproj b/stubs/Sharpener.RevitAPIUI/Sharpener.RevitAPIUI.csproj deleted file mode 100644 index 2a1f776..0000000 --- a/stubs/Sharpener.RevitAPIUI/Sharpener.RevitAPIUI.csproj +++ /dev/null @@ -1,16 +0,0 @@ - - - - netstandard2.0 - Autodesk.Revit.UI - RevitAPIUI - false - false - false - - - - - - - diff --git a/stubs/Sharpener.RevitAPIUI/SplitButton.cs b/stubs/Sharpener.RevitAPIUI/SplitButton.cs deleted file mode 100644 index fa8e952..0000000 --- a/stubs/Sharpener.RevitAPIUI/SplitButton.cs +++ /dev/null @@ -1,10 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public class SplitButton -{ - public void AddPushButton(object pushButtonBuilder) - { - } -} diff --git a/stubs/Sharpener.RevitAPIUI/SplitButtonData.cs b/stubs/Sharpener.RevitAPIUI/SplitButtonData.cs deleted file mode 100644 index 7eedb46..0000000 --- a/stubs/Sharpener.RevitAPIUI/SplitButtonData.cs +++ /dev/null @@ -1,10 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public class SplitButtonData -{ - public SplitButtonData(string name, string text) - { - } -} diff --git a/stubs/Sharpener.RevitAPIUI/TaskDialog.cs b/stubs/Sharpener.RevitAPIUI/TaskDialog.cs deleted file mode 100644 index 7498e79..0000000 --- a/stubs/Sharpener.RevitAPIUI/TaskDialog.cs +++ /dev/null @@ -1,10 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public class TaskDialog -{ - public static void Show(string title, string message) - { - } -} diff --git a/stubs/Sharpener.RevitAPIUI/TextBox.cs b/stubs/Sharpener.RevitAPIUI/TextBox.cs deleted file mode 100644 index 15a5473..0000000 --- a/stubs/Sharpener.RevitAPIUI/TextBox.cs +++ /dev/null @@ -1,8 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public class TextBox -{ - public string PromptText { get; set; } = null!; -} diff --git a/stubs/Sharpener.RevitAPIUI/TextBoxData.cs b/stubs/Sharpener.RevitAPIUI/TextBoxData.cs deleted file mode 100644 index c4a060c..0000000 --- a/stubs/Sharpener.RevitAPIUI/TextBoxData.cs +++ /dev/null @@ -1,10 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public class TextBoxData -{ - public TextBoxData(string name) - { - } -} diff --git a/stubs/Sharpener.RevitAPIUI/ThemeType.cs b/stubs/Sharpener.RevitAPIUI/ThemeType.cs deleted file mode 100644 index 7b73383..0000000 --- a/stubs/Sharpener.RevitAPIUI/ThemeType.cs +++ /dev/null @@ -1,9 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -public enum ThemeType -{ - UITheme, - CanvasTheme -} diff --git a/stubs/Sharpener.RevitAPIUI/UIControlledApplication.cs b/stubs/Sharpener.RevitAPIUI/UIControlledApplication.cs deleted file mode 100644 index 30cb7a9..0000000 --- a/stubs/Sharpener.RevitAPIUI/UIControlledApplication.cs +++ /dev/null @@ -1,30 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -using Autodesk.Revit.UI.Events; - -namespace Autodesk.Revit.UI; - -// ReSharper disable once InconsistentNaming -public class UIControlledApplication -{ - public ControlledApplication ControlledApplication { get; set; } = new(); - public event EventHandler ThemeChanged = null!; - - public RibbonPanel CreateRibbonPanel(string name, string panelName) - { - return new RibbonPanel(); - } - - public void CreateRibbonTab(string tabName) - { - } - - protected virtual void OnThemeChanged(ThemeChangedEventArgs args) - { - ThemeChanged?.Invoke(this, args); - } - - public void RegisterDockablePane(DockablePaneId id, string title, IDockablePaneProvider provider) - { - } -} diff --git a/stubs/Sharpener.RevitAPIUI/UIDocument.cs b/stubs/Sharpener.RevitAPIUI/UIDocument.cs deleted file mode 100644 index 8ba8eec..0000000 --- a/stubs/Sharpener.RevitAPIUI/UIDocument.cs +++ /dev/null @@ -1,10 +0,0 @@ -// The Sharpener project licenses this file to you under the MIT license. - -namespace Autodesk.Revit.UI; - -// ReSharper disable once InconsistentNaming -public class UIDocument -{ - public Selection.Selection Selection { get; set; } = null!; - public Document Document { get; set; } = null!; -}