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; | |
| namespace BloomFilter | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| AddItem("test"); | |
| AddItem("test2"); |
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
| System.NullReferenceException | |
| Object reference not set to an instance of an object. | |
| at Microsoft.VisualStudio.DesignTools.UniversalXamlDesigner.UniversalXamlPlatformMetadata.IsExpression(ITypeId type) | |
| at Microsoft.VisualStudio.DesignTools.Designer.ViewModel.SceneNode.GetRawComputedValueInternal(PropertyReference propertyReference) | |
| at Microsoft.VisualStudio.DesignTools.Designer.ViewModel.XamlSceneNode.GetComputedValueInternal(PropertyReference propertyReference) | |
| at Microsoft.VisualStudio.DesignTools.Designer.ViewModel.XamlSceneNode.GetLiveValueInternal(PropertyReference propertyReference) | |
| at Microsoft.VisualStudio.DesignTools.Designer.UI.PropertyInspector.SceneNodeObjectSet.GetValue(PropertyReference propertyReference, GetValueFlags getValueFlags) | |
| at Microsoft.VisualStudio.DesignTools.Designer.UI.PropertyInspector.SceneNodeObjectSet.GetValue(PropertyReference property) | |
| at Microsoft.VisualStudio.DesignTools.Designer.UI.PropertyInspector.SceneNodeObjectSet.GetValue(PropertyReferenceProperty |
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
| <Window x:Class="MaterialDesignColors.WpfExample.PaletteSelectorWindow" | |
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
| xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
| xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
| xmlns:local="clr-namespace:MaterialDesignColors.WpfExample" | |
| xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf" | |
| xmlns:materialDesignColors="clr-namespace:MaterialDesignColors;assembly=MaterialDesignColors" | |
| mc:Ignorable="d" | |
| Title="PaletteSelectorWindow" Height="300" Width="300" |
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
| <Application x:Class="Application" | |
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
| StartupUri="MainWindow.xaml"> | |
| <Application.Resources> | |
| <ResourceDictionary> | |
| <ResourceDictionary.MergedDictionaries> | |
| <!-- MahApps --> | |
| <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" /> |
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
| These files are resharper llive templates for working with XAML. Invaluable if you building custom controls. |
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
| public partial class Mah : UserControl | |
| { | |
| public Mah() | |
| { | |
| DataContext = new MahViewModel(); | |
| InitializeComponent(); | |
| } | |
| } | |
| public class MahViewModel |