Separate dynamic anchors.
This commit is contained in:
@@ -68,7 +68,7 @@ namespace Cryville.Crtr {
|
||||
}
|
||||
public override bool IsValueRequired { get { return false; } }
|
||||
public override void ExecuteStatic(ContainerState state, RuntimeSkinContext ctx, PdtExpression exp) {
|
||||
state.Handler.RegisterAnchor(Name);
|
||||
state.Handler.RegisterAnchor(Name, true);
|
||||
}
|
||||
public override void ExecuteDynamic(ContainerState state, RuntimeSkinContext ctx, PdtExpression exp) {
|
||||
throw new InvalidOperationException("Anchor creation in dynamic context is not allowed");
|
||||
|
Reference in New Issue
Block a user