https://account.jetbrains.com/a/66qzhl9k
https://marketplace.visualstudio.com/items?itemName=KieranBorsden.PlantUmlLanguageService
<ControlTemplate x:Key="ce"> <Grid Width="15" Height="15" VerticalAlignment="Center" HorizontalAlignment="Center"> <Border Background="#7F2C2C2C" CornerRadius="64" VerticalAlignment="Center" HorizontalAlignment="Center" Width="13" Height="13"/> <Border Background="#FFFFFFFF" CornerRadius="64" VerticalAlignment="Center" HorizontalAlignment="Center" Width="11" Height="11"/> <Border Background="#FF222222" CornerRadius="64" VerticalAlignment="Center" HorizontalAlignment="Center" Width="7" Height="7"...
public static void WriteCell(this Row row, string data) { var cell = new Cell { DataType = new EnumValue<CellValues>(CellValues.String), CellValue = new CellValue(data) }; row.Append(cell); }
public static void WriteCell(this Row row, string data) { var cell = new Cell { DataType = new EnumValue<CellValues>(CellValues.String), CellValue = new CellValue(data) }; row.Append(cell); }
/// <summary> /// SheetDataList have the next format: /// SheetDataList: List of SheetData /// SheetData: Sheet Name; List of Rows /// Row: List of Cells /// Cell: string value /// </summary> /// <param name="fileName"></param> /// <param name="sheetDataList"></param> public static void WriteDataIntoXlsxFileAsync(string fileName, List<Tuple<string, List<List<string>>>> sheetDataList) { SpreadsheetDocument ssDoc = SpreadsheetDocument.Create(fileName, SpreadsheetDocumentType.Workbook); WorkbookPart...
I unsuccessfully jumped from 3 meters onto the asphalt and broke my leg a little. Nothing particularly serious, but I was told that so far it is better not to load the leg. Therefore, in the next 2 weeks I will need to work from home.
searchExp=%7B%22PolicyCd%22:%22RO_AMS_BSA%22%7D&page=1&results=100 searchExp={"PolicyCd":"RO_AMS_BSA"}&page=1&results=100
searchExp=%7B%22PolicyCd%22:%22RO_AMS_BSA%22%7D&page=1&results=100
kJ4VMryQ:ALx86#rw:+6#2]w+j:ELS]AC5]:X42dk5[V:RRWko2+6
kJ4VMryQ:ALx86#rw:+6#2]w+j:ELS]AC5]:X42dk5[V:RRWko2+6
kJ4VMryQ:ALx86#rw:+6#2]w+j:ELS]AC5]:X42dk5[V:RRWko2+6
https://account.jetbrains.com/a/66qzhl9k
https://account.jetbrains.com/licenses
https://account.jetbrains.com/licenses
https://account.jetbrains.com/licenses
https://www.jetbrains.com/shop/download/RS0/2017100
class DataComparer1 : IEqualityComparer<Data> { public bool Equals(Data x, Data y) { // Check whether the compared objects reference the same data. if (ReferenceEquals(x, y)) return true; // Check whether any of the compared objects is null. if (ReferenceEquals(x, null) || ReferenceEquals(y, null)) return false; // Check whether the properties are equal return x.IsChecked == y.IsChecked && x.Priority == y.Priority && x.Name == y.Name; } // If Equals() returns true for a pair of objects, // GetHashCode...
using System.Collections; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.ComponentModel; public class ObservableCollectionEx<t> : ObservableCollection<t> where T : INotifyPropertyChanged { //protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e) //{ // Unsubscribe(e.OldItems); // Subscribe(e.NewItems); // base.OnCollectionChanged(e); //}</t></t> protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e) { if (e.Action...
using System.Collections; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.ComponentModel; public class ObservableCollectionEx<t> : ObservableCollection<t> where T : INotifyPropertyChanged { //protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e) //{ // Unsubscribe(e.OldItems); // Subscribe(e.NewItems); // base.OnCollectionChanged(e); //}</t></t> protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e) { if (e.Action...
public class ObservableCollectionEx<t> : ObservableCollection<t> where T : INotifyPropertyChanged { protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e) { Unsubscribe(e.OldItems); Subscribe(e.NewItems); base.OnCollectionChanged(e); }</t></t> protected override void ClearItems() { foreach(T element in this) element.PropertyChanged -= ContainedElementChanged; base.ClearItems(); } private void Subscribe(IList iList) { if (iList != null) { foreach (T element in iList) element.PropertyChanged...
xmlns:helpers="clr-namespace:PMCPortfolio.ClientWorkspace.ComponentConfiguration.Hierarchies.Helpers" helpers:MapRulesListViewHelper.MapRulesList="{Binding MapRulesList}" ItemsSource="{Binding Path=(helpers:MapRulesListViewHelper.MapRulesList), Mode=TwoWay, RelativeSource={RelativeSource Self}}"
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Windows; using PMCPortfolio.ClientWorkspace.ComponentConfiguration.Hierarchies.ViewModel; namespace PMCPortfolio.ClientWorkspace.ComponentConfiguration.Hierarchies.Helpers { public static class MapRulesListViewHelper { public static readonly DependencyProperty MapRulesListProperty = DependencyProperty.RegisterAttached( "MapRulesList", typeof(ObservableCollection<RuleMappingViewModel>), typeof(MapRulesListViewHelper),...
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Windows; using PMCPortfolio.ClientWorkspace.ComponentConfiguration.Hierarchies.ViewModel; namespace PMCPortfolio.ClientWorkspace.ComponentConfiguration.Hierarchies.Helpers { public static class MapRulesListViewHelper { public static readonly DependencyProperty MapRulesListProperty = DependencyProperty.RegisterAttached( "MapRulesList", typeof(ObservableCollection<RuleMappingViewModel>), typeof(MapRulesListViewHelper),...
public static void CopyOver(Parent p, Child c) { PropertyInfo[] props = p.GetType().GetProperties(BindingFlags.Public); foreach( PropertyInfo pi in props) { pi.SetValue( c, pi.GetValue( p) ); } } private static void UpdateForType(Type type, MyObject source, MyObject destination) { FieldInfo[] myObjectFields = type.GetFields( BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance); foreach (FieldInfo fi in myObjectFields) { fi.SetValue(destination, fi.GetValue(source)); } }
public static void CopyOver(Parent p, Child c) { PropertyInfo[] props = p.GetType().GetProperties(BindingFlags.Public); foreach( PropertyInfo pi in props) { pi.SetValue( c, pi.GetValue( p) ); } }
public static Task<TResult> Run<TResult>(Func<TResult> function) { return Task.Factory.StartNew(function, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default); } private Task<IList<ItemDescription>> GetFxRateSnapCodesAsync() { return TaskEx.Run<IList<ItemDescription>>(() => { FxRateSnapCodes.Initialize(); return FxRateSnapCodes.GetItems(); }); } private Task UpdateFxRateSnapCodesAsync(Task<IList<ItemDescription>> getFxRateSnapCodesAsyncTask, TaskScheduler scheduler) { return getFxRateSnapCodesAsyncTask.ContinueWith(t...
cIkQ*4+Q:AMzxMqB]:Stwa[QHV:HpBLAL7F:C/ZUjM5L:y[y4tgJQ
$ git push Counting objects: 7, done. Delta compression using up to 2 threads. Compressing objects: 100% (7/7), done. Writing objects: 100% (7/7), 624 bytes | 6.00 KiB/s, done. Total 7 (delta 6), reused 0 (delta 0) error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502 Proxy Error fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly Everything up-to-date
using System.Collections.Generic; using Clients.CommonComponents; namespace PMCPortfolio.ClientWorkspace.Portfolios.ViewModel { public partial class PortfolioViewModel { //Name public bool IsNameChanged => Name != NameOriginal; public string Name { get { return Current.name; } set { CheckAndFixStringValue(ref value); if (Name == value) { return; } OnNameChanging(); Current.name = value; OnNameChanged(); UpdateOperation(); Validate(nameof(Name)); RaisePropertyChanged(nameof(Name)); RaisePropertyChanged(nameof(IsNameChanged));...
using System; using System.Linq; using System.Text; using Clients.CommonComponents; using PMCPortfolio.ClientWorkspace.ComponentConfiguration.Hierarchies.ViewModel; using PMCPortfolio.DataModel; using PMCPortfolio.Extensions; using PMCPortfolio.ViewModel.Core; namespace PMCPortfolio.ClientWorkspace.Portfolios.ViewModel { public partial class PortfolioViewModel : EntityViewModelBase<portfolio> { private static readonly char[] SpecialSymbols; public ClientContext Context { get; set; } public string...