Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support to move comments and attr to base #4

Merged
merged 1 commit into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to the "pulltointerfacor" extension will be documented in th

Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.

## [1.0.0] 1.19.2024

- Initial release
| Date | Change | Release Date | Version | Has Breaking Changes |
| ---------- | --------------------------------------------- | ------------ | ------- | -------------------- |
| 01/19/2024 | Initial Release | 01/16/2023 | 1.0.1 | NO |
| 02/06/2024 | Added support to move comments and attributes | 02/06/2024 | 1.0.2 | NO |
| | | | | |
2 changes: 2 additions & 0 deletions Sample/SampleProject/BaseClass.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using SampleProject;
Expand All @@ -8,5 +9,6 @@ namespace Sample
{
public class BaseClass : IBaseClass
{

}
}
4 changes: 2 additions & 2 deletions Sample/SampleProject/IMyClass.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using SampleProject;
Expand All @@ -8,7 +9,6 @@ namespace Sample
{
public interface IMyClass
{
async Task<int> GetNewIdAsync<TNewType>(string name,string address,string city,string state) where TNewType : class;
string FullProperty { get; set; }

}
}
14 changes: 14 additions & 0 deletions Sample/SampleProject/MyClass.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using SampleProject;
Expand All @@ -9,12 +10,20 @@ namespace Sample
public class MyClass<TType> : BaseClass, IMyClass, IMyTypedClass<string> where TType : class
{
private string _fullProperty;

[Required]
/// <summary>
/// Test Comments
/// </summary>
public int MyPropertyLamda => 5;

[Required]
public string FullProperty
{
get => _fullProperty;
set => _fullProperty = value;
}

public string FullPropertyAlt
{
get
Expand All @@ -26,7 +35,12 @@ public string FullPropertyAlt
_fullProperty = value;
}
}
/// <summary>
/// Test Comments
/// </summary>
[Required]
public int MyProperty { get; set; }

public async Task<int> GetNewIdAsync<TNewType>(string name,
string address,
string city,
Expand Down
Loading
Loading