@@ -160,60 +160,48 @@ public static void SubmitNotFound(this ExceptionlessClient client, string resour
160
160
/// Creates a session start event.
161
161
/// </summary>
162
162
/// <param name="client">The client instance.</param>
163
- /// <param name="userIdentity">The user's id.</param>
164
- /// <param name="userDisplayName">The user's friendly name</param>
165
- public static EventBuilder CreateSessionStart ( this ExceptionlessClient client , string userIdentity = null , string userDisplayName = null ) {
166
- return client . CreateEvent ( ) . SetType ( Event . KnownTypes . Session ) . SetUserIdentity ( userIdentity , userDisplayName ) ;
163
+ public static EventBuilder CreateSessionStart ( this ExceptionlessClient client ) {
164
+ return client . CreateEvent ( ) . SetType ( Event . KnownTypes . Session ) ;
167
165
}
168
166
169
167
/// <summary>
170
168
/// Submits a session start event.
171
169
/// </summary>
172
170
/// <param name="client">The client instance.</param>
173
- /// <param name="userIdentity">The user's id.</param>
174
- /// <param name="userDisplayName">The user's friendly name</param>
175
- public static void SubmitSessionStart ( this ExceptionlessClient client , string userIdentity = null , string userDisplayName = null ) {
176
- client . CreateSessionStart ( userIdentity , userDisplayName ) . Submit ( ) ;
171
+ public static void SubmitSessionStart ( this ExceptionlessClient client ) {
172
+ client . CreateSessionStart ( ) . Submit ( ) ;
177
173
}
178
174
179
175
/// <summary>
180
176
/// Creates a session end event.
181
177
/// </summary>
182
178
/// <param name="client">The client instance.</param>
183
- /// <param name="userIdentity">The user's id.</param>
184
- /// <param name="userDisplayName">The user's friendly name</param>
185
- public static EventBuilder CreateSessionEnd ( this ExceptionlessClient client , string userIdentity = null , string userDisplayName = null ) {
186
- return client . CreateEvent ( ) . SetType ( Event . KnownTypes . SessionEnd ) . SetUserIdentity ( userIdentity , userDisplayName ) ;
179
+ public static EventBuilder CreateSessionEnd ( this ExceptionlessClient client ) {
180
+ return client . CreateEvent ( ) . SetType ( Event . KnownTypes . SessionEnd ) ;
187
181
}
188
182
189
183
/// <summary>
190
184
/// Submits a session end event.
191
185
/// </summary>
192
186
/// <param name="client">The client instance.</param>
193
- /// <param name="userIdentity">The user's id.</param>
194
- /// <param name="userDisplayName">The user's friendly name</param>
195
- public static void SubmitSessionEnd ( this ExceptionlessClient client , string userIdentity = null , string userDisplayName = null ) {
196
- client . CreateSessionEnd ( userIdentity , userDisplayName ) . Submit ( ) ;
187
+ public static void SubmitSessionEnd ( this ExceptionlessClient client ) {
188
+ client . CreateSessionEnd ( ) . Submit ( ) ;
197
189
}
198
190
199
191
/// <summary>
200
192
/// Creates a session heartbeat event.
201
193
/// </summary>
202
194
/// <param name="client">The client instance.</param>
203
- /// <param name="userIdentity">The user's id.</param>
204
- /// <param name="userDisplayName">The user's friendly name</param>
205
- public static EventBuilder CreateSessionHeartbeat ( this ExceptionlessClient client , string userIdentity = null , string userDisplayName = null ) {
206
- return client . CreateEvent ( ) . SetType ( Event . KnownTypes . SessionHeartbeat ) . SetUserIdentity ( userIdentity , userDisplayName ) ;
195
+ public static EventBuilder CreateSessionHeartbeat ( this ExceptionlessClient client ) {
196
+ return client . CreateEvent ( ) . SetType ( Event . KnownTypes . SessionHeartbeat ) ;
207
197
}
208
198
209
199
/// <summary>
210
200
/// Submits a session heartbeat event.
211
201
/// </summary>
212
202
/// <param name="client">The client instance.</param>
213
- /// <param name="userIdentity">The user's id.</param>
214
- /// <param name="userDisplayName">The user's friendly name</param>
215
- public static void SubmitSessionHeartbeat ( this ExceptionlessClient client , string userIdentity = null , string userDisplayName = null ) {
216
- client . CreateSessionHeartbeat ( userIdentity , userDisplayName ) . Submit ( ) ;
203
+ public static void SubmitSessionHeartbeat ( this ExceptionlessClient client ) {
204
+ client . CreateSessionHeartbeat ( ) . Submit ( ) ;
217
205
}
218
206
}
219
207
}
0 commit comments