@@ -90,59 +90,78 @@ private async Task OnToastShownAsync(ToastEventArgs args)
9090
9191 /// <summary>
9292 /// Gets or sets the auto hide state.
93+ /// <para>
94+ /// Default value is <see langword="false"/>.
95+ /// </para>
9396 /// </summary>
94- /// <remarks>
95- /// Default value is false.
96- /// </remarks>
97+ [ AddedVersion ( "1.0.0" ) ]
98+ [ DefaultValue ( false ) ]
99+ [ Description ( "Gets or sets the auto hide state." ) ]
97100 [ Parameter ]
98101 public bool AutoHide { get ; set ; }
99102
100103 /// <summary>
101104 /// Gets or sets the delay in milliseconds before hiding the toast.
102- /// </summary>
103- /// <remarks>
105+ /// <para>
104106 /// Default value is 5000.
105- /// </remarks>
107+ /// </para>
108+ /// </summary>
109+ [ AddedVersion ( "1.0.0" ) ]
110+ [ DefaultValue ( 5000 ) ]
111+ [ Description ( "Gets or sets the delay in milliseconds before hiding the toast." ) ]
106112 [ Parameter ]
107113 public int Delay { get ; set ; } = 5000 ;
108114
109115 /// <summary>
110116 /// Gets or sets the toast messages.
117+ /// <para>
118+ /// Default value is <see langword="null"/>.
119+ /// </para>
111120 /// </summary>
112- /// <remarks>
113- /// Default value is null.
114- /// </remarks>
121+ [ AddedVersion ( "1.0.0" ) ]
122+ [ DefaultValue ( null ) ]
123+ [ Description ( "Gets or sets the toast messages." ) ]
115124 [ Parameter ]
116- public List < ToastMessage > ? Messages { get ; set ; } = default ! ;
125+ public List < ToastMessage > ? Messages { get ; set ; }
117126
118127 /// <summary>
119128 /// Gets or sets the toast placement.
120- /// </summary>
121- /// <remarks>
129+ /// <para>
122130 /// Default value is <see cref="ToastsPlacement.TopRight" />.
123- /// </remarks>
131+ /// </para>
132+ /// </summary>
133+ [ AddedVersion ( "1.0.0" ) ]
134+ [ DefaultValue ( ToastsPlacement . TopRight ) ]
135+ [ Description ( "Gets or sets the toast placement." ) ]
124136 [ Parameter ]
125137 public ToastsPlacement Placement { get ; set ; } = ToastsPlacement . TopRight ;
126138
127139 /// <summary>
128140 /// If <see langword="true" />, shows the close button.
141+ /// <para>
142+ /// Default value is <see langword="true"/>.
143+ /// </para>
129144 /// </summary>
130- /// <remarks>
131- /// Default value is true.
132- /// </remarks>
145+ [ AddedVersion ( "1.0.0" ) ]
146+ [ DefaultValue ( true ) ]
147+ [ Description ( "If <b>true</b>, shows the close button." ) ]
133148 [ Parameter ]
134149 public bool ShowCloseButton { get ; set ; } = true ;
135150
136151 /// <summary>
137152 /// Gets or sets the toast container maximum capacity.
138- /// </summary>
139- /// <remarks>
153+ /// <para>
140154 /// Default value is 5.
141- /// </remarks>
155+ /// </para>
156+ /// </summary>
157+ [ AddedVersion ( "1.0.0" ) ]
158+ [ DefaultValue ( 5 ) ]
159+ [ Description ( "Gets or sets the toast container maximum capacity." ) ]
142160 [ Parameter ]
143161 public int StackLength { get ; set ; } = 5 ;
144162
145- [ Inject ] public ToastService ToastService { get ; set ; } = default ! ;
163+ [ Inject ]
164+ public ToastService ToastService { get ; set ; } = default ! ;
146165
147166 #endregion
148167}
0 commit comments