This file contains 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
(function () { | |
'use strict'; | |
/** | |
* @param $scope | |
* @param $parse | |
*/ | |
function TtValidationController($scope, $parse) { | |
var context = null; | |
var controls = []; |
This file contains 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
(function () { | |
'use strict'; | |
/** | |
* @param $scope | |
*/ | |
function TtValidateController($scope) { | |
var validationKey = 'ttValidate-validate'; | |
$scope.ngModel = null; |
This file contains 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
app = {}; | |
app.module = angular.module('app', []); |
This file contains 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
(function () { | |
'use strict'; | |
/** | |
* @constructor | |
*/ | |
function TtValidationDefinitionProvider() { | |
var lookup = {}; | |
this.register = function (key, validationDefinition) { |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Web; | |
namespace Thinktecture.Helpers | |
{ | |
public class MimeTypeLookup | |
{ |
This file contains 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
(function () { | |
'use strict'; | |
window.ttBase = window.ttBase || {}; | |
ttBase.module = angular.module('ttBase', []); | |
})(); |
This file contains 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
(function () { | |
'use strict'; | |
/** | |
* @constructor | |
*/ | |
ttBase.MimeTypeLookup = function () { | |
this.getMimeType = function (fileName) { | |
if (!angular.isString(fileName)) { |
This file contains 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 abstract class BulkInsertDataReader<T> : IDataReader | |
{ | |
private readonly IReadOnlyCollection<SqlBulkCopyColumnMapping> _columnMappings; | |
private readonly IEnumerator<T> _enumerator; | |
protected T Current { get; private set; } | |
public int Depth { get; private set; } | |
public bool IsClosed { get; private set; } | |
public int RecordsAffected { get; private set; } |
This file contains 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 EnumJsonConverter<TEnum, T> : JsonConverter<Enum<TEnum, T>> | |
where TEnum : Enum<TEnum, T> | |
{ | |
public override void WriteJson(JsonWriter writer, Enum<TEnum, T> value, JsonSerializer serializer) | |
{ | |
if (value == null) | |
{ | |
writer.WriteNull(); | |
} | |
else |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer