示例#1
0
 public CurrentLevelWrapper(Level level)
 {
     this.level = level;
 }
示例#2
0
 public PreviousLevelWrapper(Level level)
 {
     this.level = level;
 }
示例#3
0
        private static bool IsNameScope(Level level)
        {
            if (level.XamlType != null)
            {
                var xamlTypeSaysIsNameScope = level.XamlType.IsNameScope;
                var instanceIsNameScope = level.Instance is INameScope;

                return xamlTypeSaysIsNameScope && instanceIsNameScope;
            }

            return false;
        }
示例#4
0
 protected bool Equals(Level other)
 {
     return Equals(Instance, other.Instance) && Equals(XamlType, other.XamlType) && Equals(Member, other.Member) &&
            IsGetObject == other.IsGetObject && Equals(Collection, other.Collection) &&
            Equals(CtorArguments, other.CtorArguments);
 }
 public CurrentLevelWrapper(Level level, IValueContext valueContext)
 {
     this.level = level;
     this.valueContext = valueContext;
 }