Exemplo n.º 1
0
        public Property NewInstance(object value)
        {
            Property instance = new PropertyInstance(null, value, this);

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

            if (this.immutable)
            {
                instance = new ImmutablePropertyFacade(instance);
            }
            return instance;
        }
Exemplo n.º 3
0
        public Property NewInitialInstance()
        {
            var instance = new PropertyInstance(null, this.initialValue, this);

            return(instance);
        }
Exemplo n.º 4
0
 public Property NewInitialInstance()
 {
     var instance = new PropertyInstance(null, this.initialValue, this);
     return instance;
 }