From 7659ce3792be9ac6f35fc1a124f02c847d07f32a Mon Sep 17 00:00:00 2001 From: Josef Pihrt Date: Tue, 31 Oct 2023 21:41:22 +0100 Subject: [PATCH] Remove snippet for read-only property (#69) --- ChangeLog.md | 1 + .../AutoGeneration/ReadOnlyProperty.snippet | 44 ------------------ .../AutoGeneration/ReadOnlyProperty.snippet | 46 ------------------- 3 files changed, 1 insertion(+), 90 deletions(-) delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/AutoGeneration/ReadOnlyProperty.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/AutoGeneration/ReadOnlyProperty.snippet diff --git a/ChangeLog.md b/ChangeLog.md index 12b8733c..c8ca541a 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Removed - Remove option to choose member type (method, property etc.) [PR](https://github.com/josefpihrt/snippetica/pull/63)). +- Remove snippet for read-only property (`rpp`) [PR](https://github.com/josefpihrt/snippetica/pull/69)). ## [1.0.0] - 2022-10-17 diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/AutoGeneration/ReadOnlyProperty.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/AutoGeneration/ReadOnlyProperty.snippet deleted file mode 100644 index 9fef64db..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/AutoGeneration/ReadOnlyProperty.snippet +++ /dev/null @@ -1,44 +0,0 @@ - - -
- read-only @type@ property - rpp - read-only @type@ property declaration - Josef Pihrt - - Expansion - - - Meta-GenerateAccessModifier - Meta-GenerateStaticModifier - Meta-GenerateVirtualModifier - -
- - - - _modifiers - Modifier(s) - public - - - name - Property name - PropertyName - - - type - Property type - string - - - value - Value to return - value - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/AutoGeneration/ReadOnlyProperty.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/AutoGeneration/ReadOnlyProperty.snippet deleted file mode 100644 index c2b4f205..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/AutoGeneration/ReadOnlyProperty.snippet +++ /dev/null @@ -1,46 +0,0 @@ - - -
- read-only @type@ Property - rpp - read-only @type@ property declaration - Josef Pihrt - - Expansion - - - Meta-GenerateAccessModifier - Meta-GenerateStaticModifier - Meta-GenerateVirtualModifier - -
- - - - _modifiers - Modifier(s) - public - - - name - Property name - PropertyName - - - type - Property type - String - - - value - Return value - value - - - - -
\ No newline at end of file