private DescriptionContext(IApiDocumentation apiDocumentation, ITypeDescriptionBuilder typeDescriptionBuilder, Type type, IDictionary<Type, Tuple<IClass, bool, bool>> typeDefinitions) { if (apiDocumentation == null) { throw new ArgumentNullException("apiDocumentation"); } if (typeDescriptionBuilder == null) { throw new ArgumentNullException("typeDescriptionBuilder"); } if (type == null) { throw new ArgumentNullException("type"); } if (typeDefinitions == null) { throw new ArgumentNullException("typeDefinitions"); } ApiDocumentation = apiDocumentation; TypeDescriptionBuilder = typeDescriptionBuilder; Type = type; _typeDefinitions = typeDefinitions; }
private DescriptionContext(IApiDocumentation apiDocumentation, ITypeDescriptionBuilder typeDescriptionBuilder, Type type, IDictionary <Type, Tuple <IClass, bool, bool> > typeDefinitions) { if (apiDocumentation == null) { throw new ArgumentNullException("apiDocumentation"); } if (typeDescriptionBuilder == null) { throw new ArgumentNullException("typeDescriptionBuilder"); } if (type == null) { throw new ArgumentNullException("type"); } if (typeDefinitions == null) { throw new ArgumentNullException("typeDefinitions"); } ApiDocumentation = apiDocumentation; TypeDescriptionBuilder = typeDescriptionBuilder; Type = type; _typeDefinitions = typeDefinitions; }
public static DescriptionContext ForType(IApiDocumentation apiDocumentation, Type type, ITypeDescriptionBuilder typeDescriptionBuilder) { if (apiDocumentation == null) { throw new ArgumentNullException("apiDocumentation"); } if (typeDescriptionBuilder == null) { throw new ArgumentNullException("typeDescriptionBuilder"); } if (type == null) { throw new ArgumentNullException("type"); } return new DescriptionContext(apiDocumentation, typeDescriptionBuilder, type, new Dictionary<Type, Tuple<IClass, bool, bool>>()); }
public static DescriptionContext ForType(IApiDocumentation apiDocumentation, Type type, ITypeDescriptionBuilder typeDescriptionBuilder) { if (apiDocumentation == null) { throw new ArgumentNullException("apiDocumentation"); } if (typeDescriptionBuilder == null) { throw new ArgumentNullException("typeDescriptionBuilder"); } if (type == null) { throw new ArgumentNullException("type"); } return(new DescriptionContext(apiDocumentation, typeDescriptionBuilder, type, new Dictionary <Type, Tuple <IClass, bool, bool> >())); }