コード例 #1
0
 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);
 }
コード例 #2
0
 public override void FinishInitialization(IParserContext context)
 {
     base.FinishInitialization(context);
     ResourceDictionary.RegisterUnmodifiableResourceDuringParsingProcess(this, context);
 }