-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add comments to FragmentComponent class
refactor: Change namespace of DataAnnotationsProcessor and RzFormContext classes style: Rename Constants.cs file path feat: Make PartialView method in RzController and RzControllerWithViews virtual chore: Remove RzRazorComponentResult and RzRazorComponentResultOfT classes
- Loading branch information
Showing
56 changed files
with
160 additions
and
593 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
...on_TAttribute,System.Collections.Generic.IDictionary_string,object_,string_).md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#### [Rizzy](index 'index') | ||
### [Rizzy.Components](Rizzy.Components 'Rizzy.Components').[DataAnnotationsProcessor](Rizzy.Components.DataAnnotationsProcessor 'Rizzy.Components.DataAnnotationsProcessor') | ||
|
||
## DataAnnotationsProcessor.AddAttributeHandler<TAttribute>(Action<TAttribute,IDictionary<string,object>,string>) Method | ||
|
||
Adds a custom handler for a specific type of [System.ComponentModel.DataAnnotations.ValidationAttribute](https://docs.microsoft.com/en-us/dotnet/api/System.ComponentModel.DataAnnotations.ValidationAttribute 'System.ComponentModel.DataAnnotations.ValidationAttribute'). | ||
|
||
```csharp | ||
public void AddAttributeHandler<TAttribute>(System.Action<TAttribute,System.Collections.Generic.IDictionary<string,object>,string> handler) | ||
where TAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute; | ||
``` | ||
#### Type parameters | ||
|
||
<a name='Rizzy.Components.DataAnnotationsProcessor.AddAttributeHandler_TAttribute_(System.Action_TAttribute,System.Collections.Generic.IDictionary_string,object_,string_).TAttribute'></a> | ||
|
||
`TAttribute` | ||
|
||
The type of the attribute to handle. | ||
#### Parameters | ||
|
||
<a name='Rizzy.Components.DataAnnotationsProcessor.AddAttributeHandler_TAttribute_(System.Action_TAttribute,System.Collections.Generic.IDictionary_string,object_,string_).handler'></a> | ||
|
||
`handler` [System.Action<](https://docs.microsoft.com/en-us/dotnet/api/System.Action-3 'System.Action`3')[TAttribute](Rizzy.Components.DataAnnotationsProcessor.AddAttributeHandler_TAttribute_(System.Action_TAttribute,System.Collections.Generic.IDictionary_string,object_,string_)#Rizzy.Components.DataAnnotationsProcessor.AddAttributeHandler_TAttribute_(System.Action_TAttribute,System.Collections.Generic.IDictionary_string,object_,string_).TAttribute 'Rizzy.Components.DataAnnotationsProcessor.AddAttributeHandler<TAttribute>(System.Action<TAttribute,System.Collections.Generic.IDictionary<string,object>,string>).TAttribute')[,](https://docs.microsoft.com/en-us/dotnet/api/System.Action-3 'System.Action`3')[System.Collections.Generic.IDictionary<](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.IDictionary-2 'System.Collections.Generic.IDictionary`2')[System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')[,](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.IDictionary-2 'System.Collections.Generic.IDictionary`2')[System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Collections.Generic.IDictionary-2 'System.Collections.Generic.IDictionary`2')[,](https://docs.microsoft.com/en-us/dotnet/api/System.Action-3 'System.Action`3')[System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')[>](https://docs.microsoft.com/en-us/dotnet/api/System.Action-3 'System.Action`3') | ||
|
||
The handler that processes the attribute. |
15 changes: 15 additions & 0 deletions
15
...s.DataAnnotationsProcessor.DataAnnotationsProcessor(System.IServiceProvider).md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#### [Rizzy](index 'index') | ||
### [Rizzy.Components](Rizzy.Components 'Rizzy.Components').[DataAnnotationsProcessor](Rizzy.Components.DataAnnotationsProcessor 'Rizzy.Components.DataAnnotationsProcessor') | ||
|
||
## DataAnnotationsProcessor(IServiceProvider) Constructor | ||
|
||
Initializes a new instance of the [DataAnnotationsProcessor](Rizzy.Components.DataAnnotationsProcessor 'Rizzy.Components.DataAnnotationsProcessor') class. | ||
|
||
```csharp | ||
public DataAnnotationsProcessor(System.IServiceProvider provider); | ||
``` | ||
#### Parameters | ||
|
||
<a name='Rizzy.Components.DataAnnotationsProcessor.DataAnnotationsProcessor(System.IServiceProvider).provider'></a> | ||
|
||
`provider` [System.IServiceProvider](https://docs.microsoft.com/en-us/dotnet/api/System.IServiceProvider 'System.IServiceProvider') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#### [Rizzy](index 'index') | ||
### [Rizzy.Components](Rizzy.Components 'Rizzy.Components') | ||
|
||
## DataAnnotationsProcessor Class | ||
|
||
Processes Data Annotations on model properties and converts them to HTML5 data attributes. | ||
Registration Scope: Singleton | ||
|
||
```csharp | ||
public class DataAnnotationsProcessor | ||
``` | ||
|
||
Inheritance [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object') 🡒 DataAnnotationsProcessor | ||
| Constructors | | | ||
| :--- | :--- | | ||
| [DataAnnotationsProcessor(IServiceProvider)](Rizzy.Components.DataAnnotationsProcessor.DataAnnotationsProcessor(System.IServiceProvider) 'Rizzy.Components.DataAnnotationsProcessor.DataAnnotationsProcessor(System.IServiceProvider)') | Initializes a new instance of the [DataAnnotationsProcessor](Rizzy.Components.DataAnnotationsProcessor 'Rizzy.Components.DataAnnotationsProcessor') class. | | ||
|
||
| Methods | | | ||
| :--- | :--- | | ||
| [AddAttributeHandler<TAttribute>(Action<TAttribute,IDictionary<string,object>,string>)](Rizzy.Components.DataAnnotationsProcessor.AddAttributeHandler_TAttribute_(System.Action_TAttribute,System.Collections.Generic.IDictionary_string,object_,string_) 'Rizzy.Components.DataAnnotationsProcessor.AddAttributeHandler<TAttribute>(System.Action<TAttribute,System.Collections.Generic.IDictionary<string,object>,string>)') | Adds a custom handler for a specific type of [System.ComponentModel.DataAnnotations.ValidationAttribute](https://docs.microsoft.com/en-us/dotnet/api/System.ComponentModel.DataAnnotations.ValidationAttribute 'System.ComponentModel.DataAnnotations.ValidationAttribute'). | |
25 changes: 0 additions & 25 deletions
25
...on_TAttribute,System.Collections.Generic.IDictionary_string,object_,string_).md
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
...m.DataAnnotationsProcessor.DataAnnotationsProcessor(System.IServiceProvider).md
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#### [Rizzy](index 'index') | ||
### [Rizzy.Components](Rizzy.Components 'Rizzy.Components') | ||
|
||
## FragmentComponent Class | ||
|
||
Component that encapsulates a RenderFragment for use as a partial or child component. | ||
|
||
```csharp | ||
public class FragmentComponent : Microsoft.AspNetCore.Components.ComponentBase | ||
``` | ||
|
||
Inheritance [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.Object 'System.Object') 🡒 [Microsoft.AspNetCore.Components.ComponentBase](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.AspNetCore.Components.ComponentBase 'Microsoft.AspNetCore.Components.ComponentBase') 🡒 FragmentComponent |
2 changes: 1 addition & 1 deletion
2
...ponents.Form.RzFormContext.EditContext.md → ...y.Components.RzFormContext.EditContext.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Components.Form.RzFormContext.FormName.md → ...izzy.Components.RzFormContext.FormName.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
....Components.Form.RzFormContext.FormUrl.md → ...Rizzy.Components.RzFormContext.FormUrl.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Rizzy.Components.Form.RzFormContext.Id.md → docs/Rizzy.Components.RzFormContext.Id.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.