예제 #1
0
        public Property NewInstance(object value)
        {
            Property instance = new PropertyInstance(null, value, this);

            if (this.immutable)
            {
                instance = new ImmutablePropertyFacade(instance);
            }
            return(instance);
        }
예제 #2
0
        public Property NewInstance(object value)
        {
            Property instance = new PropertyInstance(null, value, this);

            if (this.immutable)
            {
                instance = new ImmutablePropertyFacade(instance);
            }
            return instance;
        }