CollectionPrinter
Namespace:
NHibernate
We found 10 examples in language CSharp for this search.
You will see 58 fragments of code.
Other methods
Other methods
Project:CSharpUtils
File:CollectionPrinter.cs
Examples:4
[NotNull]
public static CollectionPrinter Builder([NotNull] IEnumerable enumerable)
{
return new CollectionPrinter(enumerable);
}
[NotNull]
public CollectionPrinter AddPrintFormat([NotNull] EnumerablePrintFormat printFormat)
{
_nestedEnumerablePrintFormatsQueue.Enqueue(printFormat);
return this;
}
[NotNull]
public CollectionPrinter AddStandardPrintFormat()
{
_nestedEnumerablePrintFormatsQueue.Enqueue(new EnumerablePrintFormat());
return this;
}
[NotNull]
public CollectionPrinter AddMultiLinePrintFormat()
{
_nestedEnumerablePrintFormatsQueue.Enqueue(new EnumerablePrintFormat(newLinesEachElement: true));
return this;
}
Project:My_First_uAdventure_Game
File:Chapter.cs
Examples:6
/**
* Returns the initial scene identifier.
*
* @return Initial scene identifier
*/
public string getTargetId()
{
return initialScene;
}
/**
* Returns the initial scene
*
* @return the initial scene
*/
private GeneralScene getInitialGeneralScene()
{
GeneralScene initialGeneralScene = null;
if (initialScene != null)
{
initialGeneralScene = getGeneralScene(initialScene);
}
if (initialGeneralScene == null)
{
// Return the FIRST initial scene stored
for (int i = 0; i < getGeneralScenes().Count && initialGeneralScene == null; i++)
if (getGeneralScenes()[i].isInitialScene())
initialGeneralScene = getGeneralScenes()[i];
// If there is no initial scene, return the first scene
if (initialGeneralScene == null)
initialGeneralScene = getGeneralScenes()[0];
}
return initialGeneralScene;
}
public IChapterTarget getInitialChapterTarget()
{
if(initialScene != null && initialScene != "")
{
// return the initial scene
return (IChapterTarget) getObjects().Find(o => o is IChapterTarget && (o as IChapterTarget).getId() == initialScene);
}
else
{
// return the first scene possible
return (IChapterTarget) getObjects().Find(o => o is IChapterTarget);
}
}
/**
* Returns the list of playable scenes in the game.
*
* @return List of playable scenes
*/
public List<Scene> getScenes()
{
return getObjects<Scene> ();
}
/**
* Returns the list of cutscenes in the game.
*
* @return List of cutscenes
*/
public List<Cutscene> getCutscenes()
{
return getObjects<Cutscene> ();
}
/**
* Returns the list of books in the game
*
* @return the list of books in the game
*/
public List<Book> getBooks()
{
return getObjects<Book> ();
}
Project:JuegosGeoposicionados
File:Chapter.cs
Examples:6
/**
* Returns the initial scene identifier.
*
* @return Initial scene identifier
*/
public string getTargetId()
{
return initialScene;
}
/**
* Returns the initial scene
*
* @return the initial scene
*/
private GeneralScene getInitialGeneralScene()
{
GeneralScene initialGeneralScene = null;
if (initialScene != null)
{
initialGeneralScene = getGeneralScene(initialScene);
}
if (initialGeneralScene == null)
{
// Return the FIRST initial scene stored
for (int i = 0; i < getGeneralScenes().Count && initialGeneralScene == null; i++)
if (getGeneralScenes()[i].isInitialScene())
initialGeneralScene = getGeneralScenes()[i];
// If there is no initial scene, return the first scene
if (initialGeneralScene == null)
initialGeneralScene = getGeneralScenes()[0];
}
return initialGeneralScene;
}
public IChapterTarget getInitialChapterTarget()
{
if(initialScene != null && initialScene != "")
{
// return the initial scene
return (IChapterTarget) getObjects().Find(o => o is IChapterTarget && (o as IChapterTarget).getId() == initialScene);
}
else
{
// return the first scene possible
return (IChapterTarget) getObjects().Find(o => o is IChapterTarget);
}
}
/**
* Returns the list of playable scenes in the game.
*
* @return List of playable scenes
*/
public List<Scene> getScenes()
{
return getObjects<Scene> ();
}
/**
* Returns the list of cutscenes in the game.
*
* @return List of cutscenes
*/
public List<Cutscene> getCutscenes()
{
return getObjects<Cutscene> ();
}
/**
* Returns the list of books in the game
*
* @return the list of books in the game
*/
public List<Book> getBooks()
{
return getObjects<Book> ();
}
Project:MuseosUCM
File:Chapter.cs
Examples:6
/**
* Returns the initial scene identifier.
*
* @return Initial scene identifier
*/
public string getTargetId()
{
return initialScene;
}
/**
* Returns the initial scene
*
* @return the initial scene
*/
private GeneralScene getInitialGeneralScene()
{
GeneralScene initialGeneralScene = null;
if (initialScene != null)
{
initialGeneralScene = getGeneralScene(initialScene);
}
if (initialGeneralScene == null)
{
// Return the FIRST initial scene stored
for (int i = 0; i < getGeneralScenes().Count && initialGeneralScene == null; i++)
if (getGeneralScenes()[i].isInitialScene())
initialGeneralScene = getGeneralScenes()[i];
// If there is no initial scene, return the first scene
if (initialGeneralScene == null)
initialGeneralScene = getGeneralScenes()[0];
}
return initialGeneralScene;
}
public IChapterTarget getInitialChapterTarget()
{
if(initialScene != null && initialScene != "")
{
// return the initial scene
return (IChapterTarget) getObjects().Find(o => o is IChapterTarget && (o as IChapterTarget).getId() == initialScene);
}
else
{
// return the first scene possible
return (IChapterTarget) getObjects().Find(o => o is IChapterTarget);
}
}
/**
* Returns the list of playable scenes in the game.
*
* @return List of playable scenes
*/
public List<Scene> getScenes()
{
return getObjects<Scene> ();
}
/**
* Returns the list of cutscenes in the game.
*
* @return List of cutscenes
*/
public List<Cutscene> getCutscenes()
{
return getObjects<Cutscene> ();
}
/**
* Returns the list of books in the game
*
* @return the list of books in the game
*/
public List<Book> getBooks()
{
return getObjects<Book> ();
}
Project:uAdventure
File:Chapter.cs
Examples:6
/**
* Returns the initial scene identifier.
*
* @return Initial scene identifier
*/
public string getTargetId()
{
return initialScene;
}
/**
* Returns the initial scene
*
* @return the initial scene
*/
private GeneralScene getInitialGeneralScene()
{
GeneralScene initialGeneralScene = null;
if (initialScene != null)
{
initialGeneralScene = getGeneralScene(initialScene);
}
if (initialGeneralScene == null)
{
// Return the FIRST initial scene stored
for (int i = 0; i < getGeneralScenes().Count && initialGeneralScene == null; i++)
if (getGeneralScenes()[i].isInitialScene())
initialGeneralScene = getGeneralScenes()[i];
// If there is no initial scene, return the first scene
if (initialGeneralScene == null)
initialGeneralScene = getGeneralScenes()[0];
}
return initialGeneralScene;
}
public IChapterTarget getInitialChapterTarget()
{
if(initialScene != null && initialScene != "")
{
// return the initial scene
return (IChapterTarget) getObjects().Find(o => o is IChapterTarget && (o as IChapterTarget).getId() == initialScene);
}
else
{
// return the first scene possible
return (IChapterTarget) getObjects().Find(o => o is IChapterTarget);
}
}
/**
* Returns the list of playable scenes in the game.
*
* @return List of playable scenes
*/
public List<Scene> getScenes()
{
return getObjects<Scene> ();
}
/**
* Returns the list of cutscenes in the game.
*
* @return List of cutscenes
*/
public List<Cutscene> getCutscenes()
{
return getObjects<Cutscene> ();
}
/**
* Returns the list of books in the game
*
* @return the list of books in the game
*/
public List<Book> getBooks()
{
return getObjects<Book> ();
}
Project:Pirate-Ship-Thinking
File:Chapter.cs
Examples:6
/**
* Returns the initial scene identifier.
*
* @return Initial scene identifier
*/
public string getTargetId()
{
return initialScene;
}
/**
* Returns the initial scene
*
* @return the initial scene
*/
private GeneralScene getInitialGeneralScene()
{
GeneralScene initialGeneralScene = null;
if (initialScene != null)
{
initialGeneralScene = getGeneralScene(initialScene);
}
if (initialGeneralScene == null)
{
// Return the FIRST initial scene stored
for (int i = 0; i < getGeneralScenes().Count && initialGeneralScene == null; i++)
if (getGeneralScenes()[i].isInitialScene())
initialGeneralScene = getGeneralScenes()[i];
// If there is no initial scene, return the first scene
if (initialGeneralScene == null)
initialGeneralScene = getGeneralScenes()[0];
}
return initialGeneralScene;
}
public IChapterTarget getInitialChapterTarget()
{
if(initialScene != null && initialScene != "")
{
// return the initial scene
return (IChapterTarget) getObjects().Find(o => o is IChapterTarget && (o as IChapterTarget).getId() == initialScene);
}
else
{
// return the first scene possible
return (IChapterTarget) getObjects().Find(o => o is IChapterTarget);
}
}
/**
* Returns the list of playable scenes in the game.
*
* @return List of playable scenes
*/
public List<Scene> getScenes()
{
return getObjects<Scene> ();
}
/**
* Returns the list of cutscenes in the game.
*
* @return List of cutscenes
*/
public List<Cutscene> getCutscenes()
{
return getObjects<Cutscene> ();
}
/**
* Returns the list of books in the game
*
* @return the list of books in the game
*/
public List<Book> getBooks()
{
return getObjects<Book> ();
}
Project:LoQueHayQueAguantar2
File:Chapter.cs
Examples:6
/**
* Returns the initial scene identifier.
*
* @return Initial scene identifier
*/
public string getTargetId()
{
return initialScene;
}
/**
* Returns the initial scene
*
* @return the initial scene
*/
private GeneralScene getInitialGeneralScene()
{
GeneralScene initialGeneralScene = null;
if (initialScene != null)
{
initialGeneralScene = getGeneralScene(initialScene);
}
if (initialGeneralScene == null)
{
// Return the FIRST initial scene stored
for (int i = 0; i < getGeneralScenes().Count && initialGeneralScene == null; i++)
if (getGeneralScenes()[i].isInitialScene())
initialGeneralScene = getGeneralScenes()[i];
// If there is no initial scene, return the first scene
if (initialGeneralScene == null)
initialGeneralScene = getGeneralScenes()[0];
}
return initialGeneralScene;
}
public IChapterTarget getInitialChapterTarget()
{
if(initialScene != null && initialScene != "")
{
// return the initial scene
return (IChapterTarget) getObjects().Find(o => o is IChapterTarget && (o as IChapterTarget).getId() == initialScene);
}
else
{
// return the first scene possible
return (IChapterTarget) getObjects().Find(o => o is IChapterTarget);
}
}
/**
* Returns the list of playable scenes in the game.
*
* @return List of playable scenes
*/
public List<Scene> getScenes()
{
return getObjects<Scene> ();
}
/**
* Returns the list of cutscenes in the game.
*
* @return List of cutscenes
*/
public List<Cutscene> getCutscenes()
{
return getObjects<Cutscene> ();
}
/**
* Returns the list of books in the game
*
* @return the list of books in the game
*/
public List<Book> getBooks()
{
return getObjects<Book> ();
}
Project:Robo_en_Madrid_Rio
File:Chapter.cs
Examples:6
/**
* Returns the initial scene identifier.
*
* @return Initial scene identifier
*/
public string getTargetId()
{
return initialScene;
}
/**
* Returns the initial scene
*
* @return the initial scene
*/
private GeneralScene getInitialGeneralScene()
{
GeneralScene initialGeneralScene = null;
if (initialScene != null)
{
initialGeneralScene = getGeneralScene(initialScene);
}
if (initialGeneralScene == null)
{
// Return the FIRST initial scene stored
for (int i = 0; i < getGeneralScenes().Count && initialGeneralScene == null; i++)
if (getGeneralScenes()[i].isInitialScene())
initialGeneralScene = getGeneralScenes()[i];
// If there is no initial scene, return the first scene
if (initialGeneralScene == null)
initialGeneralScene = getGeneralScenes()[0];
}
return initialGeneralScene;
}
public IChapterTarget getInitialChapterTarget()
{
if(initialScene != null && initialScene != "")
{
// return the initial scene
return (IChapterTarget) getObjects().Find(o => o is IChapterTarget && (o as IChapterTarget).getId() == initialScene);
}
else
{
// return the first scene possible
return (IChapterTarget) getObjects().Find(o => o is IChapterTarget);
}
}
/**
* Returns the list of playable scenes in the game.
*
* @return List of playable scenes
*/
public List<Scene> getScenes()
{
return getObjects<Scene> ();
}
/**
* Returns the list of cutscenes in the game.
*
* @return List of cutscenes
*/
public List<Cutscene> getCutscenes()
{
return getObjects<Cutscene> ();
}
/**
* Returns the list of books in the game
*
* @return the list of books in the game
*/
public List<Book> getBooks()
{
return getObjects<Book> ();
}
Project:ParanormalMansion
File:Chapter.cs
Examples:6
/**
* Returns the initial scene identifier.
*
* @return Initial scene identifier
*/
public string getTargetId()
{
return initialScene;
}
/**
* Returns the initial scene
*
* @return the initial scene
*/
private GeneralScene getInitialGeneralScene()
{
GeneralScene initialGeneralScene = null;
if (initialScene != null)
{
initialGeneralScene = getGeneralScene(initialScene);
}
if (initialGeneralScene == null)
{
// Return the FIRST initial scene stored
for (int i = 0; i < getGeneralScenes().Count && initialGeneralScene == null; i++)
if (getGeneralScenes()[i].isInitialScene())
initialGeneralScene = getGeneralScenes()[i];
// If there is no initial scene, return the first scene
if (initialGeneralScene == null)
initialGeneralScene = getGeneralScenes()[0];
}
return initialGeneralScene;
}
public IChapterTarget getInitialChapterTarget()
{
if(initialScene != null && initialScene != "")
{
// return the initial scene
return (IChapterTarget) getObjects().Find(o => o is IChapterTarget && (o as IChapterTarget).getId() == initialScene);
}
else
{
// return the first scene possible
return (IChapterTarget) getObjects().Find(o => o is IChapterTarget);
}
}
/**
* Returns the list of playable scenes in the game.
*
* @return List of playable scenes
*/
public List<Scene> getScenes()
{
return getObjects<Scene> ();
}
/**
* Returns the list of cutscenes in the game.
*
* @return List of cutscenes
*/
public List<Cutscene> getCutscenes()
{
return getObjects<Cutscene> ();
}
/**
* Returns the list of books in the game
*
* @return the list of books in the game
*/
public List<Book> getBooks()
{
return getObjects<Book> ();
}
Project:Jubilacion_Imposible
File:Chapter.cs
Examples:6
/**
* Returns the initial scene identifier.
*
* @return Initial scene identifier
*/
public string getTargetId()
{
return initialScene;
}
/**
* Returns the initial scene
*
* @return the initial scene
*/
private GeneralScene getInitialGeneralScene()
{
GeneralScene initialGeneralScene = null;
if (initialScene != null)
{
initialGeneralScene = getGeneralScene(initialScene);
}
if (initialGeneralScene == null)
{
// Return the FIRST initial scene stored
for (int i = 0; i < getGeneralScenes().Count && initialGeneralScene == null; i++)
if (getGeneralScenes()[i].isInitialScene())
initialGeneralScene = getGeneralScenes()[i];
// If there is no initial scene, return the first scene
if (initialGeneralScene == null)
initialGeneralScene = getGeneralScenes()[0];
}
return initialGeneralScene;
}
public IChapterTarget getInitialChapterTarget()
{
if(initialScene != null && initialScene != "")
{
// return the initial scene
return (IChapterTarget) getObjects().Find(o => o is IChapterTarget && (o as IChapterTarget).getId() == initialScene);
}
else
{
// return the first scene possible
return (IChapterTarget) getObjects().Find(o => o is IChapterTarget);
}
}
/**
* Returns the list of playable scenes in the game.
*
* @return List of playable scenes
*/
public List<Scene> getScenes()
{
return getObjects<Scene> ();
}
/**
* Returns the list of cutscenes in the game.
*
* @return List of cutscenes
*/
public List<Cutscene> getCutscenes()
{
return getObjects<Cutscene> ();
}
/**
* Returns the list of books in the game
*
* @return the list of books in the game
*/
public List<Book> getBooks()
{
return getObjects<Book> ();
}
NHibernate.Util.CollectionPrinter : Object
Methods :
public static String ToString(IDictionary dictionary = )public static String ToString(IDictionary<StringString> dictionary = )
public static String ToString(IEnumerable elements = )
public Type GetType()
public String ToString()
public Boolean Equals(Object obj = )
public Int32 GetHashCode()