void IInitializable.FinishInitialization(IParserContext context) { if (_path == null) { throw new XamlBindingException("{0}: Path mustn't be null", GetType().Name); } _compiledPath = PathExpression.Compile(context, _path); ResourceDictionary.RegisterUnmodifiableResourceDuringParsingProcess(this, context); }
public override void FinishInitialization(IParserContext context) { base.FinishInitialization(context); ResourceDictionary.RegisterUnmodifiableResourceDuringParsingProcess(this, context); }