Skip to content

Commit b4be7d5

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Updated custom file in teams module to implement interface
1 parent 6b7cd7d commit b4be7d5

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

src/Teams/beta/custom/MicrosoftGraphRscConfiguration.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ public partial class MicrosoftGraphRscConfiguration :
1515
IMicrosoftGraphRscConfigurationInternal,
1616
Runtime.IValidates
1717
{
18+
private readonly PropertyTracker _propertyTracker = new PropertyTracker();
19+
public void TrackProperty(string propertyName) => _propertyTracker.TrackProperty(propertyName);
20+
public bool IsPropertySet(string propertyName) =>_propertyTracker.IsPropertySet(propertyName);
21+
public T SanitizeValue<T>(object value) => PropertyTracker.SanitizeValue<T>(value);
1822
/// <summary>
1923
/// Backing field for Inherited model <see cref= "Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphEntity" />
2024
/// </summary>

src/Teams/beta/custom/MicrosoftGraphTeamsAppPreApproval.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ public partial class MicrosoftGraphTeamsAppPreApproval :
1515
IMicrosoftGraphTeamsAppPreApprovalInternal,
1616
Runtime.IValidates
1717
{
18+
private readonly PropertyTracker _propertyTracker = new PropertyTracker();
19+
public void TrackProperty(string propertyName) => _propertyTracker.TrackProperty(propertyName);
20+
public bool IsPropertySet(string propertyName) =>_propertyTracker.IsPropertySet(propertyName);
21+
public T SanitizeValue<T>(object value) => PropertyTracker.SanitizeValue<T>(value);
22+
1823
/// <summary>
1924
/// Backing field for Inherited model <see cref= "Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphEntity" />
2025
/// </summary>

0 commit comments

Comments
 (0)