public DataTable Library_AddEdit(LibraryBase library) { dtContainer = new DataTable(); dsContainer = new DataSet(); try { MyParameter[] myParams = { new MyParameter("@LibraryID", library.LibraryID), new MyParameter("@LibraryName", library.LibraryName), new MyParameter("@FilePath", library.FilePath), new MyParameter("@FileExistence", library.FileExistence), new MyParameter("@FileTypeId", library.FileTypeId), }; Common.Set_Procedures("Librarys_AddEdit"); Common.Set_ParameterLength(myParams.Length); Common.Set_Parameters(myParams); dtContainer = Common.Execute_Procedures_LoadData(); } catch (Exception ex) { throw ex; } return(dtContainer); }
static void Main() { var d = new CustomerDerived(); LibraryBase b = d; d.Start(); b.Start(); }
public void Initialize() { Library = new EmptyLibrary(); Root = new Group(null, new string[0], new object[0]); Group = new Group(Root, new string[0], new object[0]); Culture.ApplyWithDefaultCulture(); }
public void RegisterLibraries(LibraryBase library) { var type = library.GetType(); var methods = type.GetMethods().Where(f => f.GetCustomAttribute <BindableMethodAttribute>() != null); foreach (var methodInfo in methods) { RegisterMethod(methodInfo); } }
public LibraryTreeViewItem([NotNull] LibraryBase library) { Library = library; Text = library.Name; Margin = new Thickness(0, 2, 0, 0); ToolTip = library.Name + " Library"; Icon = library.Icon; Loaded += ControlLoaded; Expanded += SetExpanderState; Collapsed += SetExpanderState; library.Items.CollectionChanged += (sender, args) => Refresh(); library.PropertyChanged += HandlePropertyChanged; }
public ActionResult Library_Load(LibraryBase library) { actionResult = new ActionResult(); try { actionResult.dtResult = libraryDL.Library_Load(library); if (actionResult.dtResult != null && actionResult.dtResult.Rows.Count > 0) { actionResult.IsSuccess = true; } } catch (Exception ex) { } return(actionResult); }
public DataTable Library_Load(LibraryBase library) { dtContainer = new DataTable(); dsContainer = new DataSet(); try { MyParameter[] myParams = { new MyParameter("@LibraryID", library.LibraryID) }; Common.Set_Procedures("Librarys_Load"); Common.Set_ParameterLength(myParams.Length); Common.Set_Parameters(myParams); dtContainer = Common.Execute_Procedures_LoadData(); } catch (Exception ex) { throw ex; } return(dtContainer); }
void _controller_GuildWars2StatusChanged(object sender, LibraryBase.Wpf.Event.EventArgs<GuildWars2Status> e) { if (e.Value == GuildWars2Status.FoundKey && HotItemController.CurrentApi.IsUnsafe) { OnPropertyChanged("SessionKey"); } }
public void Initialize() { Library = new EmptyLibrary(); Root = new Group(null, new string[0], new object[0]); Group = new Group(Root, new string[0], new object[0]); }
public void RegisterProperties(LibraryBase library) { TryAddLibraryParts(library); }
public Enumerator(LibraryBase <T> library) { _library = library; }
private Enumerable(LibraryBase <T> library) { _library = library; }
public void Dispose() { _library = null; }