Exemplo n.º 1
0
		internal PropertyResult(IPublishedProperty source, PropertyResultType type)
        {
    		if (source == null) throw new ArgumentNullException("source");
            
            _type = type;
            _source = source;
        }
Exemplo n.º 2
0
		internal PropertyResult(IPublishedContentProperty source, PropertyResultType type)
        {
    		if (source == null) throw new ArgumentNullException("source");

    		Alias = source.Alias;
			Value = source.Value;
			Version = source.Version;
			PropertyType = type;
        }
Exemplo n.º 3
0
		internal PropertyResult(string alias, object value, PropertyResultType type)
        {
        	if (alias == null) throw new ArgumentNullException("alias");
        	if (value == null) throw new ArgumentNullException("value");

            _type = type;
            _alias = alias;
			_value = value;
        }
Exemplo n.º 4
0
		internal PropertyResult(string alias, object value, Guid version, PropertyResultType type)
        {
        	if (alias == null) throw new ArgumentNullException("alias");
        	if (value == null) throw new ArgumentNullException("value");

        	Alias = alias;
			Value = value;
            Version = version;
        	PropertyType = type;
        }
Exemplo n.º 5
0
        internal PropertyResult(IPublishedProperty source, PropertyResultType type)
        {
            if (source == null)
            {
                throw new ArgumentNullException("source");
            }

            _type   = type;
            _source = source;
        }
Exemplo n.º 6
0
        internal PropertyResult(IPublishedContentProperty source, PropertyResultType type)
        {
            if (source == null)
            {
                throw new ArgumentNullException("source");
            }

            Alias        = source.Alias;
            Value        = source.Value;
            Version      = source.Version;
            PropertyType = type;
        }
Exemplo n.º 7
0
        internal PropertyResult(string alias, object value, PropertyResultType type)
        {
            if (alias == null)
            {
                throw new ArgumentNullException("alias");
            }
            if (value == null)
            {
                throw new ArgumentNullException("value");
            }

            _type  = type;
            _alias = alias;
            _value = value;
        }
Exemplo n.º 8
0
        internal PropertyResult(string alias, object value, Guid version, PropertyResultType type)
        {
            if (alias == null)
            {
                throw new ArgumentNullException("alias");
            }
            if (value == null)
            {
                throw new ArgumentNullException("value");
            }

            Alias        = alias;
            Value        = value;
            Version      = version;
            PropertyType = type;
        }