- FluentSecuriyt.Core
- Policy configuration infrastructure
- Policy enforcement infrastructure
- Skeleton for pluggable policies
This file contains hidden or 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
| public XElement ExecuteRequest(NameValueCollection arguments) | |
| { | |
| var task = ExecuteRequestAsync(arguments); | |
| return task.Result; | |
| } | |
| public async Task<XElement> ExecuteRequestAsync(NameValueCollection arguments) | |
| { | |
| arguments = AddStandardArguments(arguments); | |
| var argumentString = WriteQueryString(arguments); |
I hereby claim:
- I am chandu on github.
- I am chandu (https://keybase.io/chandu) on keybase.
- I have a public key whose fingerprint is 5D8A 9018 802E ADC1 4EA3 86DE BBC8 9C07 9453 2ED4
To claim this, I am signing this object:
This file contains hidden or 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
| var $ = require('jquery'); |
This file contains hidden or 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
| public class LoginViewModel | |
| { | |
| public string UserName { get; set; } | |
| public string Password { get; set; } | |
| public bool RememberMe { get; set; } | |
| //TODO: (CV) These should go to ViewBag later | |
| public IDictionary<string, IEnumerable<string>> Errors { get; set; } |
This file contains hidden or 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
| [Subject("Calculator ")] | |
| internal class DummySpec | |
| { | |
| class Calculator | |
| { | |
| public int add(int a, int b) | |
| { | |
| return a+b; | |
| } | |
| } |
This file contains hidden or 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
| [TestFixture] | |
| public class IoCTests | |
| { | |
| [Test] | |
| public void Can_Resolve_same_instance_when_asked_by_interface_and_class() | |
| { | |
| //Arrange | |
| ObjectFactory.Initialize(x => | |
| { | |
| x.For<FooBar>() |
This file contains hidden or 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
| # Print all project items | |
| Recurse-Project -Action {param($item) "`"$($item.ProjectItem.Name)`" is a $($item.Type)" } | |
| # Function to format all documents based on https://gist.github.com/984353 | |
| function Format-Document { | |
| param( | |
| [parameter(ValueFromPipelineByPropertyName = $true)] | |
| [string[]]$ProjectName | |
| ) | |
| Process { |
NewerOlder