Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <CodeSnippet Format="1.0.0" xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <Header>
- <Title>inotif</Title>
- <Author>Solal Pirelli</Author>
- <Shortcut>inotif</Shortcut>
- <Description>Implements INotifyPropertyChanged, as well as a FirePropertyChanged method</Description>
- <SnippetTypes>
- <SnippetType>Expansion</SnippetType>
- </SnippetTypes>
- </Header>
- <Snippet>
- <Code Language="CSharp">
- <![CDATA[
- #region INotifyPropertyChanged implementation
- public event PropertyChangedEventHandler PropertyChanged;
- private void FirePropertyChanged( string name )
- {
- if ( this.PropertyChanged != null )
- {
- this.PropertyChanged( this, new PropertyChangedEventArgs( name ) );
- }
- }
- #endregion
- ]]>
- </Code>
- </Snippet>
- </CodeSnippet>
Add Comment
Please, Sign In to add comment