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
license: gpl-3.0 |
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 doesDefinePropertyWork = function doesDefinePropertyWork(object) { | |
try { | |
Object.defineProperty(object, 'sentinel', {}); | |
return 'sentinel' in object; | |
} catch (exception) { | |
return false; | |
} | |
}; | |
var definePropertyWorksOnObject = doesDefinePropertyWork({}); |
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
<?xml version="1.0"?> | |
<configuration> | |
<system.webServer> | |
<rewrite> | |
<rules> | |
<rule name="Handle History Mode and custom 404/500" stopProcessing="true"> | |
<match url="(.*)" /> | |
<conditions logicalGrouping="MatchAll"> | |
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> | |
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> |
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
namespace mpk.Models | |
{ | |
public class District | |
{ | |
public District() | |
{ | |
DistrictDistributor = new HashSet<DistrictDistributor>(); | |
DistrictManufacturer = new HashSet<DistrictManufacturer>(); | |
DistrictProduct = new HashSet<DistrictProduct>(); | |
} |