internal PropertyResult(IPublishedProperty source, PropertyResultType type) { if (source == null) throw new ArgumentNullException("source"); _type = type; _source = source; }
internal PropertyResult(IPublishedContentProperty source, PropertyResultType type) { if (source == null) throw new ArgumentNullException("source"); Alias = source.Alias; Value = source.Value; Version = source.Version; PropertyType = type; }
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; }
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; }
internal PropertyResult(IPublishedProperty source, PropertyResultType type) { if (source == null) { throw new ArgumentNullException("source"); } _type = type; _source = source; }
internal PropertyResult(IPublishedContentProperty source, PropertyResultType type) { if (source == null) { throw new ArgumentNullException("source"); } Alias = source.Alias; Value = source.Value; Version = source.Version; PropertyType = type; }
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; }
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; }