-
-
Save justinyoo/9742709b60774a642a2d to your computer and use it in GitHub Desktop.
CRM 2015 Filtering Sample
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 YamlFilterItemCollection : FilterItemCollection | |
{ | |
... | |
protected override void OnInitialising(string filename) | |
{ | |
using (var reader = File.OpenText(filename)) | |
{ | |
var deserialiser = new Deserializer(namingConvention: new CamelCaseNamingConvention()); | |
this.Filter = deserialiser.Deserialize<Filter>(reader); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment