string.AddHashParam(string, string)

Here are the examples of the csharp api class string.AddHashParam(string, string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

8 Examples 7

1. Example

Project: NServiceKit
Source File: ServiceExtensions.cs
View license
public static string AddHashParam(this string url, string key, object val)
        {
            return url.AddHashParam(key, val.ToString());
        }

2. Example

Project: NServiceKit
Source File: AuthProvider.cs
View license
public virtual object Logout(IServiceBase service, Auth request)
        {
            var session = service.GetSession();
            var referrerUrl = (request != null ? request.Continue : null)
                ?? session.ReferrerUrl
                ?? service.RequestContext.GetHeader("Referer")
                ?? this.CallbackUrl;

            session.OnLogout(service);

            service.RemoveSession();

            if (service.RequestContext.ResponseContentType == ContentType.Html && !String.IsNullOrEmpty(referrerUrl))
                return service.Redirect(referrerUrl.AddHashParam("s", "-1"));

            return new AuthResponse();
        }

3. Example

Project: NServiceKit
Source File: OAuth2Provider.cs
View license
public override object Authenticate(IServiceBase authService, IAuthSession session, Auth request)
  /n ..... /n //View Source file for more details /n }

4. Example

Project: NServiceKit
Source File: OAuthProvider.cs
View license
public override object Authenticate(IServiceBase authService, IAuthSession session, Auth request)
  /n ..... /n //View Source file for more details /n }

5. Example

Project: NServiceKit
Source File: FacebookAuthProvider.cs
View license
public override object Authenticate(IServiceBase authService, IAuthSession session, Auth request)
  /n ..... /n //View Source file for more details /n }

6. Example

Project: NServiceKit
Source File: OpenIdOAuthProvider.cs
View license
public override object Authenticate(IServiceBase authService, IAuthSession session, Auth request)
  /n ..... /n //View Source file for more details /n }

7. Example

Project: NServiceKit
Source File: YammerAuthProvider.cs
View license
public override object Authenticate(IServiceBase authService, IAuthSession session, Auth request)
  /n ..... /n //View Source file for more details /n }

8. Example

Project: NServiceKit
Source File: AuthService.cs
View license
public virtual object Post(Auth request)
        {
            AssertAuthProviders();

            i/n ..... /n //View Source file for more details /n }