示例#1
0
        public static VariableSet GetVariableSet(this DfirRoot dfirRoot)
        {
            var token = dfirRoot.GetOrCreateNamedSparseAttributeToken <VariableSet>(_variableSetTokenName);

            return(token.GetAttribute(dfirRoot));
        }
示例#2
0
        public static void SetVariableSet(this DfirRoot dfirRoot, VariableSet variableSet)
        {
            var token = dfirRoot.GetOrCreateNamedSparseAttributeToken <VariableSet>(_variableSetTokenName);

            dfirRoot.SetAttribute(token, variableSet);
        }
示例#3
0
        public static LifetimeGraphTree GetLifetimeGraphTree(this DfirRoot dfirRoot)
        {
            var token = dfirRoot.GetOrCreateNamedSparseAttributeToken <LifetimeGraphTree>(_lifetimeGraphTreeTokenName);

            return(token.GetAttribute(dfirRoot));
        }