Ejemplo n.º 1
0
        // Token: 0x060008CF RID: 2255 RVA: 0x00027680 File Offset: 0x00025880
        internal static void Refresh()
        {
            ConfigurationADImpl configurationADImpl = (ConfigurationADImpl)Configuration.hookableInstance.Value;

            Configuration.hookableInstance = Hookable <ICacheConfiguration> .Create(true, new ConfigurationADImpl());

            configurationADImpl.Dispose();
        }
Ejemplo n.º 2
0
        static ActivitySchema()
        {
            Dictionary <string, PropertyDefinition> dictionary = new Dictionary <string, PropertyDefinition>(ActivitySchema.hookablePropertyCollection.Value.Count);

            foreach (PropertyDefinition propertyDefinition in ActivitySchema.hookablePropertyCollection.Value)
            {
                dictionary.Add(propertyDefinition.Name, propertyDefinition);
            }
            ActivitySchema.hookablePropertyNameToPropertyDefinitionMapping = Hookable <ReadOnlyDictionary <string, PropertyDefinition> > .Create(true, new ReadOnlyDictionary <string, PropertyDefinition>(dictionary));
        }
Ejemplo n.º 3
0
 static AuditingOpticsLogger()
 {
     AuditingOpticsLogger.auditingOpticsLoggerInstanceHook = Hookable <IAuditingOpticsLoggerInstance> .Create(true, null);
 }
Ejemplo n.º 4
0
        internal static IDisposable SetActivityIdTestHook(Guid actId)
        {
            AuditingOpticsLoggerInstance.hookableActivityId = Hookable <Guid> .Create(true, Guid.Empty);

            return(AuditingOpticsLoggerInstance.hookableActivityId.SetTestHook(actId));
        }