Skip to content

Instantly share code, notes, and snippets.

@rohits79
Created June 10, 2016 01:06
Show Gist options
  • Save rohits79/b1a863a000b610e764bbc4e72971f5d0 to your computer and use it in GitHub Desktop.
Save rohits79/b1a863a000b610e764bbc4e72971f5d0 to your computer and use it in GitHub Desktop.
private void InnerAdd(object view, string viewName, IRegionManager scopedRegionManager)
{
if (this.ItemMetadataCollection.FirstOrDefault(x => x.Item == view) != null)
{
throw new InvalidOperationException(Resources.RegionViewExistsException);
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment