static Module() { RunningVersion = Assembly.GetExecutingAssembly().GetName().Version.ToString(2); Configuration = ConfigurationManager.GetSection("glimpse") as GlimpseConfiguration ?? new GlimpseConfiguration(); Factory = new GlimpseFactory(Configuration); Logger = Factory.CreateLogger(); Logger.Info(Configuration); RequestValidator = new GlimpseRequestValidator(Enumerable.Empty <IGlimpseValidator>(), Factory); Sanitizer = new CSharpSanitizer(); Serializer = new GlimpseSerializer(Factory); Handlers = Enumerable.Empty <IGlimpseHandler>(); Services = Enumerable.Empty <IGlimpseService>(); Plugins = Enumerable.Empty <Lazy <IGlimpsePlugin, IGlimpsePluginRequirements> >(); Logger.Info("Glimpse Module constructed"); }
public History(GlimpseSerializer serializer, IGlimpseMetadataStore metadataStore) : base(serializer) { MetadataStore = metadataStore; }
protected JsonHandlerBase(GlimpseSerializer serializer) { Serializer = serializer; }
public JavascriptData(IGlimpseMetadataStore metadataStore, GlimpseSerializer serializer) { MetadataStore = metadataStore; Serializer = serializer; }
public TestUrlHandler(GlimpseSerializer serializer) : base(serializer) { }
public Clients(GlimpseSerializer serializer, IGlimpseMetadataStore metadataStore) : base(serializer) { MetadataStore = metadataStore; }
public Pager(GlimpseSerializer serializer) : base(serializer) { }