public StaticPartialCachingControl (string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, BuildMethod buildMethod) : this (ctrlID, guid, duration, varyByParams, varyByControls, varyByCustom, buildMethod) { // this.sqlDependency = sqlDependency; }
/// <internalonly/> /// <devdoc> /// <para>[To be supplied.]</para> /// </devdoc> static public void BuildCachedControl(Control parent, string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, BuildMethod buildMethod) { BuildCachedControl(parent, ctrlID, guid, duration, varyByParams, varyByControls, varyByCustom, sqlDependency, buildMethod, null); }
public StaticPartialCachingControl (string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, BuildMethod buildMethod, string providerName) : this (ctrlID, guid, duration, varyByParams, varyByControls, varyByCustom, sqlDependency, buildMethod) { ProviderName = providerName; }
/// <internalonly/> /// <devdoc> /// <para>[To be supplied.]</para> /// </devdoc> public StaticPartialCachingControl(string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, BuildMethod buildMethod) : this(ctrlID, guid, duration, varyByParams, varyByControls, varyByCustom, sqlDependency, buildMethod, null) { }
public void DefineExpect(string directory, string connectionString) { expect = new Settings(); expect.Directory = directory; expect.ConnectionString = connectionString; buildMethod = BuildQueriesBased; }
public static void BuildCachedControl (Control parent, string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, BuildMethod buildMethod) { BuildCachedControl (parent, ctrlID, guid, duration, varyByParams, varyByControls, varyByCustom, buildMethod); }
public static void BuildCachedControl (Control parent, string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, BuildMethod buildMethod) { StaticPartialCachingControl NewControl = new StaticPartialCachingControl (ctrlID, guid, duration, varyByParams, varyByControls, varyByCustom, sqlDependency, buildMethod); if (parent != null) parent.Controls.Add (NewControl); }
static public void BuildCachedControl(Control parent, string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, BuildMethod buildMethod, string providerName) { StaticPartialCachingControl pcc = new StaticPartialCachingControl( ctrlID, guid, duration, varyByParams, varyByControls, varyByCustom, sqlDependency, buildMethod, providerName); ((IParserAccessor)parent).AddParsedSubObject(pcc); }
public static void BuildCachedControl(Control parent, string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, BuildMethod buildMethod) { StaticPartialCachingControl NewControl = new StaticPartialCachingControl(ctrlID, guid, duration, varyByParams, varyByControls, varyByCustom, buildMethod); parent.Controls.Add(NewControl); }
public static void BuildCachedControl(Control parent, string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, BuildMethod buildMethod, string providerName) { var ctl = new StaticPartialCachingControl(ctrlID, guid, duration, varyByParams, varyByControls, varyByCustom, sqlDependency, buildMethod, providerName); if (parent != null) { parent.Controls.Add(ctl); } }
// string sqlDependency; public StaticPartialCachingControl(string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, BuildMethod buildMethod) { CtrlID = ctrlID; Guid = guid; Duration = duration; VaryByParams = varyByParams; VaryByControls = varyByControls; VaryByCustom = varyByCustom; this.buildMethod = buildMethod; }
// string sqlDependency; public StaticPartialCachingControl (string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, BuildMethod buildMethod) { CtrlID = ctrlID; Guid = guid; Duration = duration; VaryByParams = varyByParams; VaryByControls = varyByControls; VaryByCustom = varyByCustom; this.buildMethod = buildMethod; }
public StaticPartialCachingControl(string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, BuildMethod buildMethod, string providerName) { base._ctrlID = ctrlID; base.Duration = new TimeSpan(0, 0, duration); base.SetVaryByParamsCollectionFromString(varyByParams); if (varyByControls != null) { base._varyByControlsCollection = varyByControls.Split(new char[] { ';' }); } base._varyByCustom = varyByCustom; base._guid = guid; this._buildMethod = buildMethod; base._sqlDependency = sqlDependency; base._provider = providerName; }
public StaticPartialCachingControl(string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, BuildMethod buildMethod, string providerName) { base._ctrlID = ctrlID; base.Duration = new TimeSpan(0, 0, duration); base.SetVaryByParamsCollectionFromString(varyByParams); if (varyByControls != null) { base._varyByControlsCollection = varyByControls.Split(new char[] { ';' }); } base._varyByCustom = varyByCustom; base._guid = guid; this._buildMethod = buildMethod; base._sqlDependency = sqlDependency; base._provider = providerName; }
//HashAlgorithm hash = MD5.Create(); public IDynamicEvaluator GetEvaluator(BuildMethod method) { IDynamicEvaluator stored; int key = method.GetHashCode();//Convert.ToBase64String(hash.ComputeHash(System.Text.Encoding.Unicode.GetBytes(methods.ToString()))); if (evaluators.ContainsKey(key)) { evaluators.TryGetValue(key, out stored); } else { stored = new ReflectionEvaluator(method); evaluators.Add(key, stored); } return stored; }
/// <include file='doc\PartialCachingControl.uex' path='docs/doc[@for="StaticPartialCachingControl.StaticPartialCachingControl"]/*' /> /// <internalonly/> /// <devdoc> /// <para>[To be supplied.]</para> /// </devdoc> public StaticPartialCachingControl(string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, BuildMethod buildMethod) { _ctrlID = ctrlID; _duration = duration; if (varyByParams != null) { _varyByParamsCollection = varyByParams.Split(s_varySeparators); } if (varyByControls != null) { _varyByControlsCollection = varyByControls.Split(s_varySeparators); } _varyByCustom = varyByCustom; _guid = guid; _buildMethod = buildMethod; }
public StaticPartialCachingControl(string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, BuildMethod buildMethod, string providerName) { _ctrlID = ctrlID; Duration = new TimeSpan(0 /*hours*/, 0 /*mins*/, duration /*seconds*/); SetVaryByParamsCollectionFromString(varyByParams); if (varyByControls != null) { _varyByControlsCollection = varyByControls.Split(varySeparator); } _varyByCustom = varyByCustom; _guid = guid; _buildMethod = buildMethod; _sqlDependency = sqlDependency; _provider = providerName; }
public void DefineExpect(string directory) { expect = new Settings(); expect.Directory = directory; buildMethod = BuildResultSetsBased; }
public static void BuildCachedControl(Control parent, string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, BuildMethod buildMethod) { }
public static void BuildCachedControl(Control parent, string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, BuildMethod buildMethod, string providerName) { }
public StaticPartialCachingControl(string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, BuildMethod buildMethod) { }
public StaticPartialCachingControl(string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, BuildMethod buildMethod, string providerName) { }
public StaticPartialCachingControl(string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, BuildMethod buildMethod) : this(ctrlID, guid, duration, varyByParams, varyByControls, varyByCustom, null, buildMethod, null) { }
public static void BuildCachedControl(Control parent, string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, BuildMethod buildMethod, string providerName) { StaticPartialCachingControl control = new StaticPartialCachingControl(ctrlID, guid, duration, varyByParams, varyByControls, varyByCustom, sqlDependency, buildMethod, providerName); ((IParserAccessor) parent).AddParsedSubObject(control); }
public static void BuildCachedControl(Control parent, string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, BuildMethod buildMethod) { }
/* * Called by generated code (hence must be public). * Create a StaticPartialCachingControl and add it as a child */ /// <internalonly/> /// <devdoc> /// <para>[To be supplied.]</para> /// </devdoc> static public void BuildCachedControl(Control parent, string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, BuildMethod buildMethod) { BuildCachedControl(parent, ctrlID, guid, duration, varyByParams, varyByControls, varyByCustom, null, buildMethod, null); }
public StaticPartialCachingControl(string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, BuildMethod buildMethod, string providerName) { _ctrlID = ctrlID; Duration = new TimeSpan(0 /*hours*/, 0 /*mins*/, duration /*seconds*/); SetVaryByParamsCollectionFromString(varyByParams); if (varyByControls != null) _varyByControlsCollection = varyByControls.Split(varySeparator); _varyByCustom = varyByCustom; _guid = guid; _buildMethod = buildMethod; _sqlDependency = sqlDependency; _provider = providerName; }
public static void BuildCachedControl(Control parent, string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, BuildMethod buildMethod, string providerName) { }
public StaticPartialCachingControl(string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, BuildMethod buildMethod) { }