There are lots of cases that you can improve. The examples use nullable reference types, but only the WhenNotNull
example requires it.
Consider adopting the new property pattern, wherever you use IsNullOrEmpty
.
string? hello = "hello world";
There are lots of cases that you can improve. The examples use nullable reference types, but only the WhenNotNull
example requires it.
Consider adopting the new property pattern, wherever you use IsNullOrEmpty
.
string? hello = "hello world";
public void MultipleSchemas() | |
{ | |
var validator = new XsdValidator(); | |
validator.AddSchema(@"SchemaDoc1.xsd"); | |
validator.AddSchema(@"SchemaDoc2.xsd"); | |
var isValid = validator.IsValid(@"ValidXmlDoc1.xml"); | |
} |
(some notepad++'s theme) | |
http://wiki.macromates.com/Themes/UserSubmittedThemes | |
(Textmate theme to Notepad++ (.tmTheme converted to .xml, go to [users]/AppData/Roaming/Notepad++, replace the stylers.xml with the xml file)) | |
http://framework.lojcomm.com.br/tmTheme2nppStyler/ | |
public class StructureMapControllerFactory : DefaultControllerFactory | |
{ | |
public override IController CreateController(RequestContext requestContext, string controllerName) | |
{ | |
try | |
{ | |
var controllerType = base.GetControllerType(requestContext, controllerName); | |
return ObjectFactory.GetInstance(controllerType) as IController; | |
} | |
catch (Exception) |
// ==UserScript== | |
// @name Use Markdown, sometimes, in your HTML. | |
// @author Paul Irish <http://paulirish.com/> | |
// @link http://git.io/data-markdown | |
// @match * | |
// ==/UserScript== | |
// If you're not using this as a userscript just delete from this line up. It's cool, homey. |