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
| #% text_encoding = iso8859_1 | |
| _package user | |
| $ | |
| remex(:rowcol_display_tree) | |
| $ | |
| def_slotted_exemplar(:rowcol_display_tree, | |
| { |
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
| _block | |
| _for i _over 1.upto(100) | |
| _loop | |
| _local f, rc, img | |
| f << frame.new("hoi") | |
| rc << rowcol.new(f) | |
| img << smallworld_product.get_raster_image(:goto_object, :ui_resources) | |
| _over 1.upto(100) | |
| _loop | |
| image_button_item.new(rc, img) |
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
| #% text_encoding = iso8859_1 | |
| _package user | |
| $ | |
| def_slotted_exemplar(:easy_compressor, | |
| { | |
| {:target_dir, _unset, :writable, :read_only}, | |
| {:source_concurrency_mode, _unset, :writable, :read_only} | |
| }) |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Text; | |
| using System.IO; | |
| using System.Reflection; | |
| using log4net; | |
| using ESRI.ArcGIS.Desktop.AddIns; |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Data; | |
| using System.Drawing; | |
| using System.Text; | |
| using System.Diagnostics; | |
| using System.Threading; | |
| using System.Windows.Forms; |
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
| <Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets"/> | |
| <PropertyGroup> | |
| <Version>1.2.3</Version> | |
| <SnapshotVersion>1.2.3-SNAPSHOT</SnapshotVersion> | |
| <JiraVersion>PROSNDCHK-404</JiraVersion> | |
| <PomVersion>$(Version)</PomVersion> | |
| </PropertyGroup> |
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
| w2 << rope | |
| .new_from_iter(weg, :sections_clipped_by|()|, vlakje) | |
| .map(_proc(sec) >> sec.as_sector_rope() _endproc) | |
| .select(predicate.using(_proc(sr) >> sr.within?(vlakje).not _endproc)).ae | |
| w2.intersections_with_boundaries(vlakje).ae.bdraw() |
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
| # Created by http://www.gitignore.io | |
| ### VisualStudio ### | |
| ## Ignore Visual Studio temporary files, build results, and | |
| ## files generated by popular Visual Studio add-ons. | |
| # User-specific files | |
| *.suo | |
| *.user | |
| *.sln.docstates |
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
| class InMiddleTruncator : ITruncator | |
| { | |
| public string Truncate(string value, int length, string truncationString, TruncateFrom truncateFrom = TruncateFrom.Right) | |
| { | |
| if(value.Length <= length) | |
| return value; | |
| const int MIN_POSTFIX_LENGTH = 3; | |
| var prefix = value.Substring(0, length - truncationString.Length - MIN_POSTFIX_LENGTH); | |
| return prefix + truncationString + value.Substring(value.Length - MIN_POSTFIX_LENGTH, MIN_POSTFIX_LENGTH); |
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
| private TOut SysSlot<TOut, TIn>(object @object, string fieldName) | |
| { | |
| // ReSharper disable once PossibleNullReferenceException | |
| return (TOut)typeof(TIn).GetField(fieldName, BindingFlags.NonPublic | BindingFlags.Instance).GetValue(@object); | |
| } | |